Reporting DataStage Errors

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
JezT
Participant
Posts: 75
Joined: Wed Sep 15, 2004 1:52 am

Reporting DataStage Errors

Post by JezT »

The majority of our DS Jobs are run via a Unix Script which calls the DS Sequence and runs the jobs.

Occassionally, and particularly on Load Jobs, shoud the job abort due to 50 warnings, the error is not always relayed back to the Script and as such, on our scheduling program, the job shows as completed rather than aborted.

Is there a way of ensuring that errors raised within a DS Job can be passed back to the script that called the job in order to convey accurate information (as in the job aborted and did not complete)

Cheers
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

hi with your unix script you can call dsjob and look after warnings
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
you should use the dsjob command line interface to get the job status and act acording to it.
search this forum for exact syntax (it was covered way beyond any need ;))

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply