status(return code) not passing from DS to script

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
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

status(return code) not passing from DS to script

Post by dnat »

Hi,

I am triggering DS jobs from a script and capturing the -jobstatus in the script and execute other commans accordingly.

Offlate i am facing problems with few of the jobs that run for long. when a job runs for more than a day or two.
The script says

Waiting for job...
but the jobs are completed in director. What can be done about this.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Without seeing your script, no idea.

Actually, the idea is "tighten up control in your script". The dsjob command will always return when the job status changes from Running.

So what else are you doing in your script?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply