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
Converting server routine into parallel
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 30
- Joined: Wed May 15, 2013 1:22 am
- Location: Bangalore
Converting server routine into parallel
Cheers,
Schindler
Schindler
Re: Converting server routine into parallel
As far as i know, C++ is the source for creating Parallel routine. If you want to use the PX, then you need to find the way to call the header files and operators using C++.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
The correct header files are there and the 2 calls are documented. I believe that there is an example on the IBM pages for a simple function call like this, but can't recall where it was.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 30
- Joined: Wed May 15, 2013 1:22 am
- Location: Bangalore