Search found 6797 matches

by DSguru2B
Mon Jan 22, 2007 12:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conditionnal run of a job
Replies: 9
Views: 1502

Doesnt it spit out a warning if file doesnt exist for the very same reason ?
by DSguru2B
Mon Jan 22, 2007 12:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conditionnal run of a job
Replies: 9
Views: 1502

Do you need to wait for file or just check if it exists or not? If the former then look into narasimha's suggestion. If the latter then search this forum. I posted a routine, a simple one, a while back that returns a true or a false for file presence and absence respectively.
by DSguru2B
Mon Jan 22, 2007 12:44 pm
Forum: Site/Forum
Topic: Forum Etiquette - Should I Answer Old Posts?
Replies: 4
Views: 2723

It feels nice when posters like you appreciate the work done at dsxchange. And feel free to throw in your opinion on whatever post.
by DSguru2B
Mon Jan 22, 2007 11:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before and After job subroutine
Replies: 11
Views: 2839

Read my previous reply again, i updated it. I was a little late in hitting submit but o well. Its there.
by DSguru2B
Mon Jan 22, 2007 11:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Before and After job subroutine
Replies: 11
Views: 2839

Are you trying to update a Repository Table? If no then this is not the correct way. Have two jobs to do that. One before this present job in question and one after to do the before after updates respectively.
by DSguru2B
Mon Jan 22, 2007 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parameter
Replies: 42
Views: 6765

You can have as many different files as you want. Just make sure you cat the correct file for the correct parameter value.
by DSguru2B
Mon Jan 22, 2007 11:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import error
Replies: 15
Views: 5055

See if this helps

Code: Select all

IF LEN(trim(in.TEMP2)) < 1 then SetNull() else in.TEMP2

Provide that derivation for column TEMP2 and see if it works.
Change the source as varchar for this column too.
by DSguru2B
Mon Jan 22, 2007 11:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to intercept warnings from Oracle stage
Replies: 10
Views: 2520

In the transformer stage you have such options. In the constraint of the reject link specify

Code: Select all

DBLINK.REJECTED
by DSguru2B
Mon Jan 22, 2007 11:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call unix shell script from the sequences
Replies: 4
Views: 1813

Have a link coming out of it to a job or wherever you want to store it. Use Activity variable options ($CommandOutput,$ReturnValue) will get you what you want.
by DSguru2B
Mon Jan 22, 2007 11:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import error
Replies: 15
Views: 5055

You sure its really null and not just an empty string.
by DSguru2B
Mon Jan 22, 2007 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date to Timestamp conversion in Transformer.................
Replies: 6
Views: 2027

Again we are left at the mercy of the guessing monster. :twisted:
by DSguru2B
Mon Jan 22, 2007 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import error
Replies: 15
Views: 5055

What is Temp2 in your source file. I suspect that it is varchar or character as strtol() is a C function which converts strings to long int. The value is too large for it too handle and hence your error. What is the length in your target?
by DSguru2B
Mon Jan 22, 2007 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parameter
Replies: 42
Views: 6765

Load them into a file. Use cat filename.txt to read the contents of that file via Execute Command Stage and pass it to your sequence job. Just covered this over the weekend. Refer herefor details.
by DSguru2B
Mon Jan 22, 2007 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to call unix shell script from the sequences
Replies: 4
Views: 1813

Look into Execute Command Stage.
by DSguru2B
Mon Jan 22, 2007 10:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with uing check point run
Replies: 11
Views: 2699

Its all a guessing game untill the OP posts the requirements more clearly.