Hi,
Am invoking a child PX job from a parent PX job using the UtilityRunJob function. My child job is allowed to run in multiple instances. Would like to know how to assign values to Invocation Id to my child job from my parent job.
Thanks
Krish
Assigning value to Invocation Id from a parent PX job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 100
- Joined: Wed Feb 02, 2005 4:02 am
I'm not at a DS client right now so I cannot look at the code, but some of the calls allow you to specify a job using "JobName.InstanceName"; perhaps that will work in this case as well.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 100
- Joined: Wed Feb 02, 2005 4:02 am
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Also remember that you can use the invocation ID throughout your job as though it were a job parameter. You can put #DSJobInvocationID# (I hope that is the write name, typing it from memory) into job file name fields or SQL filter fields. This lets you choose a meaningful invocation ID that defines the partition of that job and uses it as a tag throughout your job.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn