Hi everybody,
I have two problems with the Wrapped Stage.
First problem
---------------
To explain my problem, I will take a very simple example:
I want to do an 'echo' UNIX command with a folder as an input parameter and put the result in an output file.
Example : echo /home
To do this, I put this in the Wrapped stage:
General panel
Command=echo
Properties panel
Property Name=l
Data Type=Sring
Prompt=Folder Input
Default Value=/home
If I choose
Conversion=-Value only
the result is 'echo'. That's not correct because I was supposed to have 'echo /home'.
If I choose Conversion=-Name Value
the result is 'echo -l /home'. That's correct!
It semms that the Value Only doesn't work properly! Why?
Second problem
-------------------
To explain the second problem, I will take the same example, but I want to take the folder parameter from an input file.
To do that, I put this in the Wrapped stage:
General panel
Command=echo
Properties panel
Property Name=l
Data Type=Input Column
Prompt=Folder Input
Default Value=
Conversion=-Name Value
Wrapped panel
Link=0
Table Name=MyTable (one column called Folder)
Stream=StandardInput
In my job, I have an sequential input file (with on column called Folder) and one record contains /home. This sequential file is connected to my wrapped stage.
In the properties panel of my wrapped stage, I put the Folder input column in the option.
When I run the job, the result is
'echo -l Folder'. That's not correct beceuse I was supposed to have 'echo -l /home'.
Help me please!
Thanks!!!
Eric
Wrapped Stage
Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.
Moderators: chulett, rschirm, roy
Return to “IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)”
Jump to
- Moderators' Choice
- ↳ Editor's BLOG Corner
- ↳ Ask the Experts! - Dads and Grads
- ↳ DSXchange Testimonials
- ↳ Cognos (IBM BI)
- FAQs
- ↳ FAQs
- ↳ FAQ Discussion
- DataStage
- ↳ General
- ↳ IBM<sup>®</sup> Infosphere DataStage Server Edition
- ↳ IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- ↳ Archive of DataStage Users@Oliver.com
- IBM<sup>®</sup>Infosphere Products<sup></sup>
- ↳ Business Glossary
- Suggestions
- ↳ Site/Forum
- ↳ Enhancement Wish List
- Consulting
- ↳ Talent
- ↳ Looking for Talent
- Support
- ↳ Parameter Manager
- ↳ Compile All Plus
- Usergroup Forums
- ↳ Usergroup Central Forum
- ↳ Heartland Usergroup Forum
- The Written Word
- ↳ Articles, White Papers and Tips and Tricks
- ↳ Product Documentation
- Third Party Applications
- ↳ Third Party Applications
- Product Derivatives
- ↳ Functions
- ↳ Routines
- ↳ Jobs
- ↳ Logs
- Tools
- ↳ Tools Forum
- Category
- ↳ Infosphere Master Data Management
- ↳ Data Quality Best Practices
- ↳ IBM QualityStage
- ↳ Information Analyzer (formerly ProfileStage)
- ↳ IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
- ↳ IBM<sup>®</sup> DataStage TX
- ↳ BI
- ↳ Data Integration