Search found 6797 matches

by DSguru2B
Thu Oct 19, 2006 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Link Collector job continues to run
Replies: 14
Views: 4019

Link collector can be connected directly to a transformer only if you have interprocess buffering on. Otherwise you need a passive stage in between.
by DSguru2B
Thu Oct 19, 2006 8:41 am
Forum: General
Topic: Ship Date, *Stage 8.0
Replies: 7
Views: 4504

Wow great. I bet a lot of dsxians will be relieved by checking out this post. A lot of us were more than just curious in finding out the release dates. Thanks Ray. :)
by DSguru2B
Thu Oct 19, 2006 8:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to check the record count before dropping the file
Replies: 4
Views: 1115

Ok great. I bet you already have a script in place to do that. Just add small piece of code to check the line count and then drop the file.
by DSguru2B
Thu Oct 19, 2006 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to check the record count before dropping the file
Replies: 4
Views: 1115

What do you mean by "datastage drops the file". Do you mean creates it? If thats the case, then the file will be created regardless of the record count. If you mean something else then please clarify. You can check for number of lines in a file by wc -l command. If it returns 0 that means the file i...
by DSguru2B
Thu Oct 19, 2006 7:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: email problem
Replies: 5
Views: 1243

Great, you can mark this post as "Resolved" then. Thanks.
by DSguru2B
Thu Oct 19, 2006 7:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing before routine output in the datastage job parameter
Replies: 11
Views: 8777

And Dark side can get scary :twisted: , right Craig ?
by DSguru2B
Thu Oct 19, 2006 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Identifying last user who change the job
Replies: 4
Views: 1286

These are internal repository tables and not documented. Ray and others have worked very hard to get to the depths and provide us the gems, which you can get at a cost that is less than 14 cents a day. I say its pretty affordable.
by DSguru2B
Tue Oct 17, 2006 8:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Want to delete the records giving specific date range
Replies: 12
Views: 3728

I couldnt help laughing out loud :lol:
I especially like
ray.wurlod wrote:2) Kill the users
by DSguru2B
Tue Oct 17, 2006 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to eliminate duplicate records from source
Replies: 6
Views: 1588

I didnt either. I answered his first query. Then when i came to this one i sensed it. Then when i saw a third one i didnt bother commenting.
by DSguru2B
Tue Oct 17, 2006 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Zip Seq file
Replies: 11
Views: 3959

As i said, the coding depends upon the type of zip it is
if its .tar then

Code: Select all

untar file.tar

if its .Z then

Code: Select all

uncompress file.Z

it its .gz then

Code: Select all

gzip -d file.gz

These command(s) will go in the after job subroutine "ExecSh"
by DSguru2B
Tue Oct 17, 2006 6:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Testing For A Valid Date
Replies: 8
Views: 1946

True. But they can certainly be called by DSX.
Refer thispost
by DSguru2B
Tue Oct 17, 2006 6:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: cp command in after job sub-routine
Replies: 16
Views: 4834

Ok now i am confused. Is the routine not being called after the DS job finishes or it is being called and just not functioning as you want it to. If the former then check in the log file. What does it say about the after-job subroutine. If latter, then, i have a question. Did you try correcting the ...
by DSguru2B
Tue Oct 17, 2006 6:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Zip Seq file
Replies: 11
Views: 3959

Depending upon the what kind of zip it is (the extension, .tar, .Z or .gz) you will have to supply the proper command in the before job subroutine as KirtiKumar mentioned.
by DSguru2B
Tue Oct 17, 2006 6:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: cp command in after job sub-routine
Replies: 16
Views: 4834

You have the commands messed up. This is the proper syntax (use of quotes)

Code: Select all

Command1 = "cp ":filename1:" ":filename1A
Command2 = "cp ":filename2:" ":filename2A
by DSguru2B
Tue Oct 17, 2006 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: cp command in after job sub-routine
Replies: 16
Views: 4834

You have initialized variable 'Error' and using another variable 'ErrorCode' in your If condition. ErrorCode has not been initialized, hence never zero, hence your problem.