Hi all,
please tell the use and the purpose of DSJ.ME .
hand = DSJ.ME
v_jobName = DSGetJobInfo (hand,DSJ.JOBNAME)
what does the above piece of code do?
Please tell me how to exactly use it
what is DSJ.ME ?
Moderators: chulett, rschirm, roy
hi,
DSJ.ME is to handle a job and do some actions on it, like running the job, testing status or errors
you can find some infos in how can we reset a datastage job using datastage coding or other topics (for job control). search DSJ.ME
Bertrand
DSJ.ME is to handle a job and do some actions on it, like running the job, testing status or errors
you can find some infos in how can we reset a datastage job using datastage coding or other topics (for job control). search DSJ.ME
Bertrand
Last edited by bkerebel on Tue Feb 06, 2007 9:35 am, edited 1 time in total.
When you refer to DataStage internal variables and routines in your own job, you need to add the following line to your code:
Code: Select all
$INCLUDE DSINCLUDE JOBCONTROL.H
Thanks ..ArndW wrote:When you refer to DataStage internal variables and routines in your own job, you need to add the following line to your code:
...Code: Select all
$INCLUDE DSINCLUDE JOBCONTROL.H
By adding the above piece of code it works fine
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
"Me" is a very common concept in object-oriented programming - it refers to the current object. In DataStage, depending on the function, the current object may be be job, the stage, the link. In DataStage BASIC the constant DSJ.ME serves to identify the current object.
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.