Hi,
I have a User Variable Activity Stage in a Sequence job, which is using the DSJobInvocationId. My question is how to pass a value to DSJobInvocationId when I run that Sequence job. For example, the Sequence job name is S1. Thank you.
how to use DSJobInvocationId
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You don't pass the value directly to DSJobInvocationId because this is a macro that invokes the DSGetJobInfo() function. The invocation ID is set when a multi-instance job is submitted for running.
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:
If you're using dsjob then, yes, this is the only way. If the job was started from a client tool, such as Director or Designer, the Invocation ID has its own field.
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.