WRKACTJOB is designed to be an interactive display/print function. As such "retrieving" detail information from it requires ugly processing either to manipulate display records, perhaps with the DSM APIs or to process a spooled file with spool file APIs or after copying it to a database file.
Far easier is to use the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qusljob.htm">List Job (QUSLJOB) API</a> to handle a list of jobs in a format that is intended to be processed by a program.
If you have trouble with the API, this is a good site to post for help.
Last Wiki Answer Submitted: April 2, 2010 6:38 pm by TomLiotta110,155 pts.
All Answer Wiki Contributors: TomLiotta110,155 pts.