User Status
Moderators: chulett, rschirm, roy
User Status
Could someone please provide an example on how I might setup the userstatus variable and populate it. I have researched the guide and forum to no avail.
Thanks in advance.
P.s. I will be using the variable further on in a job sequence.
Thanks in advance.
P.s. I will be using the variable further on in a job sequence.
You can set the user status for a job using DSSetUserStatus.
You could build a small routine around this and call it for setting the userstatus of that job.
Once you have set the UserStatus, you can refer it in the following jobs in your Job Sequence, using JobName.$UserStatus
You could build a small routine around this and call it for setting the userstatus of that job.
Code: Select all
Call DSSetUserStatus(Arg1)
Ans = 0
Once you have set the UserStatus, you can refer it in the following jobs in your Job Sequence, using JobName.$UserStatus
Narasimha Kade
Finding answers is simple, all you need to do is come up with the correct questions.
Finding answers is simple, all you need to do is come up with the correct questions.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The ability to use DSSetUserStatus() only exists in server jobs, the BASIC Transformer stage or server shared containers. It is not possible from parallel jobs.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
OK, your site has not licensed server jobs. They have a server licence; they've just decided not to use it. So your next best approach is to use a parallel job that includes a BASIC Transformer stage, and invoke the routine from that. Make sure that the BASIC Transformer stage - indeed the whole job - executed in sequential mode in one processing node - whether using a node pool or a one-node configuration file to achieve this.
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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: