Converting server routine into parallel
Posted: Wed Jun 12, 2013 10:32 pm
Hi Team,
I have a server routine with below code to get the status of job,i need the same functionality to incorporated in a PX routine.As am not familiar with parllel routine,can any one help me with code.
$include DSINCLUDE JOBCONTROL.H
JOBHANDLE=DSAttachJob(JOBNAME,DSJ.ERRFATAL)
Ans=DSGetJobInfo(JOBHANDLE,DSJ.JOBSTATUS)
I know about using a server shared container ,but i want it in a PX routine
I have a server routine with below code to get the status of job,i need the same functionality to incorporated in a PX routine.As am not familiar with parllel routine,can any one help me with code.
$include DSINCLUDE JOBCONTROL.H
JOBHANDLE=DSAttachJob(JOBNAME,DSJ.ERRFATAL)
Ans=DSGetJobInfo(JOBHANDLE,DSJ.JOBSTATUS)
I know about using a server shared container ,but i want it in a PX routine