Search found 4605 matches

by kduke
Wed Feb 27, 2008 11:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage job auditing
Replies: 4
Views: 1565

We are working on that now. We would like Gantt chart for job run times so we could easily see overlapping jobs. Preston sort of got it started. Not sure if I can finish it. The worse part is they would not print.
by kduke
Mon Feb 25, 2008 8:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Index of BASIC dynamic array
Replies: 7
Views: 2140

There are lots of quirks to dynamic arrays. If an element is an empty string then it does not append a value. So

arrayname<1,2> = ''

is a little different than

arrayname<1,-1> = ''

even better is :

arrayname<1,Cnt> = ''

where you keep track of the elements.
by kduke
Tue Feb 19, 2008 7:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsimport return code in windows
Replies: 5
Views: 1758

You are correct dsjob works. So not ALL the command line tools fail to set errors.
by kduke
Mon Feb 18, 2008 9:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsimport return code in windows
Replies: 5
Views: 1758

You are correct. ERRORLEVEL does not work. Not sure why. All the command line tools fail to set errors.
by kduke
Wed Feb 06, 2008 5:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to set up alert mechanisms based on the DS logs
Replies: 8
Views: 2595

There is a job in EtlStats which loops through the log file and gets row counts. You might be able to modify it to do what you want.
by kduke
Thu Jan 24, 2008 11:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Verify Migration of Datastage from Test to Prod
Replies: 3
Views: 1468

DS_AUDIT might help tell you what jobs got loaded. Does not help to know if the correct DSX got loaded. Version Control has an audit file as well. VC also updates the version number of a job.
by kduke
Thu Jan 24, 2008 11:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to fetch the files from parameter file
Replies: 2
Views: 804

In a shell script you need to add the correct syntax to the dsjob command to set a parameter. Do a search this has been covered a lot. So if you have: ParamName=ParamValue In a file then you still need to add -param in front of this if I remember correct. MyParm=`grep jpFileName $ParamFile | head -1...
by kduke
Thu Jan 24, 2008 11:09 pm
Forum: General
Topic: Gathering of DSXChange members in Bangalore
Replies: 8
Views: 1826

You have to come to Dallas to see me. I too old and tired to travel.
by kduke
Thu Jan 24, 2008 10:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Resetting a job
Replies: 13
Views: 3181

How are you starting your jobs? If from scripts then I have posted code which reset a job. It also checks to see if it needs it.

If you are doing it from a job then use DSPrepare().
by kduke
Mon Jan 21, 2008 8:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using an array as a job handler
Replies: 30
Views: 11129

We have a job which keeps as many instances of a job going as you want. Say you want to break your data stream into one per month and run 39 months. You also want to run 5 months or jobs at a time. We found that the job handle returns a status of negative about eveyr third one. Not sure why. We just...
by kduke
Mon Jan 21, 2008 11:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using an array as a job handler
Replies: 30
Views: 11129

We found that the array is not accurate. It seems that DataStage will not allow you to attach to a lot of jobs. It appears to disconnect. If the status becomes negative then we attach again. It runs really smooth now.
by kduke
Mon Jan 21, 2008 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic Parameter File
Replies: 3
Views: 885

We use a scheduler like Control M called Zena. This helps implement faster in Zena. We have a script which can create the prm files by calling dsjob like Craig suggested.