Attach DSJ.JOBPID during job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 51
- Joined: Mon Feb 05, 2007 1:53 pm
-
- Participant
- Posts: 51
- Joined: Mon Feb 05, 2007 1:53 pm
Ok well it was worth a try. The environment variables are defined in the
Datastage Administrator.
Do this, in the before stage subroutine put,
And to get the PID, specify the following in the stage variable
Hope that will work.
Datastage Administrator.
Do this, in the before stage subroutine put,
Code: Select all
export myPID=$$
Code: Select all
GetEnvironment($myPID)
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.