Search found 6797 matches

by DSguru2B
Thu Feb 22, 2007 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Datestamp challenges
Replies: 11
Views: 4255

How are you pulling the data? Is it already in timestamp format? Are you pulling directly from ORACLE? Analyze its select sql, does it have TO_CHAR() for the date. If yes then you are getting a string and StringToTimestamp() should work. I just tried to recreate your issue at my end, not successful....
by DSguru2B
Thu Feb 22, 2007 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine not working as expected
Replies: 9
Views: 1584

Use NullToEmpty() with Ray's solution. It has less checks and hence, efficient.
by DSguru2B
Thu Feb 22, 2007 3:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 1599

I hardly doubt it as you cannot constraint any input inside the lookup stage. You will have to either seperate it in the transformer and then collect it later or go with the other method I advised.
by DSguru2B
Thu Feb 22, 2007 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup - Selective Records; Other Continue
Replies: 7
Views: 1599

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.
by DSguru2B
Thu Feb 22, 2007 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with oracle stage
Replies: 8
Views: 1737

Because your doing a lookup against the database and that column is defined as key. Input is ':1' bind variable.
by DSguru2B
Thu Feb 22, 2007 3:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Datestamp challenges
Replies: 11
Views: 4255

Welcome Aboard :P
The latter functions that you have mentioned are present only in a Basic Transformer. What is the length of your target stage? What is your target stage? If its not a flat file then try writing to a flat file. I have done this in the past with success.
by DSguru2B
Thu Feb 22, 2007 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

You are right. SetNull() is not working in stage variables. I just re-created the issue at my end. Do this then. Specify the stage variable as If (INDEX(DSLink2.Col1, "L", 1) > 0) THEN Field(DSLink2.Col1," ", Count(DSLink2.Col1[1,INDEX(DSLink2.Col1,&qu...
by DSguru2B
Thu Feb 22, 2007 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: When to use these Diffrent Oracle stages?
Replies: 2
Views: 977

How about you go through the manuals and come up with a nice document and post it here for us :?:
by DSguru2B
Thu Feb 22, 2007 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error viewing oracle stage
Replies: 8
Views: 1960

narasimha, add www in your sited post, otherwise it takes you to the login page.
by DSguru2B
Thu Feb 22, 2007 2:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while trying to retrieve text for error ORA-12154
Replies: 10
Views: 4182

:oops: I did'nt bother seeing who was the owner.
Thats why they say, never hijack a post. Sorry about that :oops:
by DSguru2B
Thu Feb 22, 2007 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: After-job subroutine does not work
Replies: 19
Views: 3586

A piece of advice, if all that your doing is renaming files then you dont need to wrap it in a script. The command can be directly pasted in the after-job subroutine 'ExecSH' as you have already experienced. This way there will be one less extra piece to worry about.
by DSguru2B
Thu Feb 22, 2007 2:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while trying to retrieve text for error ORA-12154
Replies: 10
Views: 4182

Great, you can mark the post as "Resolved" then.
by DSguru2B
Thu Feb 22, 2007 2:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

Post them here. The order basically depends upon if you require a stage variable in another stage variable. If yes, then the variable that is required in other stage variables has to be first.
by DSguru2B
Thu Feb 22, 2007 2:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine not working as expected
Replies: 9
Views: 1584

It will.
by DSguru2B
Thu Feb 22, 2007 2:13 pm
Forum: Enhancement Wish List
Topic: New methods of file transfer other than FTP
Replies: 3
Views: 2187

Version 8.0 has an SFTP Enterprise stage.
As for now, you can wrap your sftp in a script and call that from DataStage.