Difference between revisions of "Retrieve Job Information (QUSRJOBI)"
From MidrangeWiki
DaveLClarkI (talk | contribs) (Created page with "Category:API Category:RPG_Prototypes == Summary == The following is an RPG/LE fully free-form prototype for the IBM QUSRJOBI API to retrieve information about a job....") |
DaveLClarkI (talk | contribs) m (DaveLClarkI moved page QUSRJOBI — Retrieve Job Information to Retrieve Job Information (QUSRJOBI): Better Indexing (too many Q's)) |
(No difference)
|
Revision as of 20:43, 6 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUSRJOBI API to retrieve information about a job.
Prototype for the QUSRJOBI API
//****************************************************************************** // IBM API to Retrieve a Job's Information // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusrjobi.htm //****************************************************************************** /include qsysinc/qrpglesrc,qusrjobi // QUSRJOBI API data structures dcl-pr IBMAPI_RtvJobInfo extpgm('QUSRJOBI'); JobInfo likeds(QUSI020000) options(*varsize); JobInfL int(10) const; JobIFmt char(8) const; JobName char(26) const; JobINam char(16) const; // optional parm group 1 JobErrC likeds(ApiErrC) options(*nopass:*varsize); // optional parm group 2 JobRset char(1) const options(*nopass); end-pr;