Search found 4605 matches

by kduke
Mon Jan 31, 2005 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence job restart
Replies: 7
Views: 2266

If you have a warning on a job then it does not finish "OK". This will not run the next step if there is no link for warnings. It also does not run the exception handler. The exception handler is only for aborted or stopped jobs.
by kduke
Thu Jan 27, 2005 11:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence job restart
Replies: 7
Views: 2266

I am on Ds7.1. It does it correctly.
by kduke
Thu Jan 27, 2005 7:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence job restart
Replies: 7
Views: 2266

This works fine at our site. I am not sure what happened.
by kduke
Thu Jan 27, 2005 7:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Win batch file
Replies: 11
Views: 5197

Try searching ADN.
by kduke
Thu Jan 27, 2005 5:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Win batch file
Replies: 11
Views: 5197

I think Ken Bland or Craig Hulett posted a really cool one. Ken definitely posted a cool UNIX shell script.
by kduke
Thu Jan 27, 2005 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we see a Job's Code
Replies: 4
Views: 1577

In earlier versions of DataStage this was an easy way to see how a job works. This is not as simple any more. There is a RT_BPnnn file where nnn is the job number. This does get compiled. I doubt if you could still look at the generated code. Hack it and see. I am sure ASCL will be thrilled to see w...
by kduke
Thu Jan 27, 2005 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Report Generation/Documentation
Replies: 9
Views: 4154

You can also buy DwNav from my web site or I have a lot of free tools that do a great job of automating documentation. On my tips page or on ADN download KgdGenHtml.zip. This is a few jobs which generate nice html documentation one file per job and one file per routine. It will also build an index p...
by kduke
Thu Jan 27, 2005 2:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with nested sequences
Replies: 2
Views: 714

If you are on version 5 then you need to upgrade to 7.5. Release 7.1 and above sequences work fine. You need to update your profile if you are not on version 5 any more.
by kduke
Wed Jan 26, 2005 4:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instances
Replies: 3
Views: 589

I use multiple instances because a job may need to run at the same time. For example at the end of each job sequence we gather row counts. So the instance id is the sequence name and so is one of the parameters. Therefore the same sequence will never finish at the same time unless it is a multiple i...
by kduke
Tue Jan 25, 2005 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unix ftp script
Replies: 2
Views: 812

You could use mget and mput to get multiple files. You need to turn off prompting with prompt command.

mget k*

Will get all files that start with a "k".
by kduke
Mon Jan 24, 2005 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multi-instance job
Replies: 2
Views: 1418

Here is a code snipet which gets all the invocation ids for a job. It should get you close. JobStatuses = '' open 'DS_JOBS' to DS.JOBS else goto TheEnd open 'DS_JOBOBJECTS' to DS.JOBOBJECTS else goto TheEnd * ---------------------------------------------------------------------- ecmd='SSELECT DS_JOB...
by kduke
Sun Jan 23, 2005 6:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch and job calling sequence - interesting
Replies: 2
Views: 890

The dependent jobs of a job sequence are stored in field 31 of the "ROOT" record of DS_JOBOBJECTS when field 32 is "2". Here is the SQL. SELECT NAME, CATEGORY, EVAL "TRANS('DS_JOBOBJECTS','J\':@RECORD<5>:'\ROOT',31,'X')" AS DEPEND_JOBS FMT '35L', EVAL "if TRANS('DS_JOBOBJE...
by kduke
Sun Jan 23, 2005 7:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aborting Job
Replies: 4
Views: 1992

They should always stop it in Director. It is the proper way. It may not stop it the fastest. A job runs as a separate process in the background. The Director is the proper tool to start and stop these jobs. Designer has a separate connection to the DataStage engine. If you have a job displayed then...
by kduke
Thu Jan 20, 2005 6:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: wirting a basic routine to run sql
Replies: 4
Views: 1359

Sure. You can write it to a sequential file but why not do it in a job. You could write it to a hash file or a sequential file in a job. It would be easy to read that from a routine.