Search found 193 matches

by vijayrc
Wed Mar 07, 2007 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Buildop vs Transformer
Replies: 4
Views: 1249

If you can get your work done with the tools you have, dont need to invent a new one. So yes, for simple tasks as trim and renaming you can use transformer and modify stage. You dont need to build an extra stage for that. As Kumar noted, utilize buildops for functionlity not readily available from ...
by vijayrc
Mon Mar 05, 2007 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge or Join, Which is more efficient
Replies: 6
Views: 1696

Once I made similar benchmarking, Join gave be better result. But I dont have any of those details right now. But I will still wait for your results to be published, Munish. Make sure your CPU usage idle for all the cases. Do also measure the memory and CPU usage during the operation. Any Updates o...
by vijayrc
Tue Feb 27, 2007 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

First option for environment variable and second for just the job parameter. Try this, just specify a job parameter and see if that works. ... Thanks a ton DSguru2B. You are a DSguru already to me :) It worked atlast using Job Parameter . Thanks again Defined Env variable, and assigning to Job Para...
by vijayrc
Mon Feb 26, 2007 2:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

You should be able to use the parameters. I am not a big fan of making all parameters as environment variables, but I test it out in a dummy job and it works here. How did you define the environment variable in the first place? Go to the job properties, click on "Add environment variables"...
by vijayrc
Mon Feb 26, 2007 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

DSguru2B wrote:If you hardcode the value. Does it work fine?
Yes...Hardcoding works...But I'm trying to find a way to make it work when it moves from one environment to another...say from TEST to PROD.
by vijayrc
Mon Feb 26, 2007 1:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

DSguru2B wrote:How are you parametrizing it. Make sure you surround it with hashes. Plus you need to give the instance name for Data Source. ...
Tried using #$RUNMODE#; #RUNMODE# and other options, but no good :(
by vijayrc
Mon Feb 26, 2007 1:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Build Op
Replies: 3
Views: 1649

Re: Creating Build Op

Hello folks, I am trying to create a build op. I right-clicked stage types in DS Manager and selected New Parallel stage. On the stage type "GENERAL" tab this is what I entered stage type name ---> eng_dis class name ----> eng_dis I have not entered anything in CREATOR & PROPERTIES Ta...
by vijayrc
Mon Feb 26, 2007 1:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

Parametrize it. Pass it as a parameter to your stored procedure. I have an User defined Environemnt variable [$RUNMODE] which is referenced as Job Parameter, and I'm using $RUNMODE in Data Source tab, but it's not resolving giving me the following:- SP_CDDM,0: Error: [IBM][CLI Driver] SQL1013N The ...
by vijayrc
Mon Feb 26, 2007 12:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure and Environment
Replies: 11
Views: 3533

Stored Procedure and Environment

Hi, I have a Stored Procedure stage for DB2. In this stage I have to pass Data Source which can be Unit Test environment [XXXX] or System Test environment[YYYY] or Production environment[ZZZZ] These XXXX/YYYY/ZZZZ are hard-coded values now. When I move this Job from one environment say from one Test...
by vijayrc
Thu Feb 22, 2007 6:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 2111

ray.wurlod wrote:The Lookup stage has its own "Constraints" area - click on the second tool from the left in its toolbar. ...
Ray,
The Constraints list the reference link and the derivation bar for the constraint doesn't allow me to select any Input Column. Thanks again for all the inputs.
by vijayrc
Thu Feb 22, 2007 3:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 2111

You can have a reject link coming out of the Lookup Stage that will carry records which will fail the lookup. Send both the inputs (lookup successful and lookup failure which is the reject link) to a funnel stage. The output of funnel stage can go to your final dataset. Thanks for the suggestion. I...
by vijayrc
Thu Feb 22, 2007 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 2111

Lookup - Selective Records; Other Continue

Hello, I have a scenario, wherein I have a Dataset==>Transformer==>Lookup==>Dataset There's one set of records [Input Field1=00]in Input wherein it wouldn't find a Lookup in the Reference, and it should just pass the entire Input record to the Output. For the rest of the records [Input Field1 <> 00]...
by vijayrc
Tue Feb 20, 2007 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assigning Env Variable value to a column in PX transformer
Replies: 14
Views: 6210

Same command. And a friendly reminder, "No Hijacking of threads." Thanks..Will try it out. And didn't mean to Hijack this thread, as this thread is marked 'RESOLVED' and I didn't want to open a new topic on the same subject :P Thanks again and the trick worked with GetEnvironment() Utilit...
by vijayrc
Tue Feb 20, 2007 1:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assigning Env Variable value to a column in PX transformer
Replies: 14
Views: 6210

Brian was right! There is GetEnvironment in Utility will help you get the value of any environment variable. Go to Utility ->GetEnvironment in derivation editor, and provide the syntax like GetEnvironment("APT_CONFIG_FILE") will do the trick for you... My previous method will also do this...
by vijayrc
Thu Feb 15, 2007 6:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File pattern warning in Sequential file
Replies: 9
Views: 2069

DSguru2B wrote:Or you can always have an empty file say "aaam_classif_empty.txt" to ensure that your job finishes successfully. This will eliminate any extra job or stages.
You just beat me in posting the reply :)
Yes having a dummy-empty file always in that folder would solve your issue.
-Vijay