Please let me know how to set 'User Status' expression in a Job activity stage.
Thanks.
Setting User Status of Job Activity
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
By invoking the DSSetUserStatus() function within a job invoked by the Job activity. This is easy to do if the job is a server job; for a parallel job you will need to create a parallel routine as an interlude to DSSetUserStatus().
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.
Why would you like to set the job status in Job activity?
If you want to pass different statuses, when the Sequence is called at separate instances, you can make a provision of a Job Parameter in the job and write a job control routine or before routine to update the job status to the value in the parameter.
If you want to pass different statuses, when the Sequence is called at separate instances, you can make a provision of a Job Parameter in the job and write a job control routine or before routine to update the job status to the value in the parameter.
Regards
Palas
Palas