Job status
Moderators: chulett, rschirm, roy
Job status
I need to update job control table with job name, starttime, endtime, job status. Please anyone let me know how can do this.. I want this routine to call in sequencer not in before after routine for each job.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No problem. Probably easiest is to create another job - a server job is recommended, since only one row needs to be processed. Use a job parameter for the job status, assigned its value from the $JobStatus activity variable of the upstream job. Use another job parameter for the name of the job upon which you are reporting. Most of the other data can be obtained through DataStage macros, or you could create your own routine to invoke DSGetJobInfo() enough time to return all the required information.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.