Difference between revisions of "List User Jobs (QUSLJOB)"
From MidrangeWiki
DaveLClarkI (talk | contribs) |
DaveLClarkI (talk | contribs) (→Summary) |
||
Line 6: | Line 6: | ||
The following is an RPG/LE fully free-form prototype for the IBM QUSLJOB API to create a list of user jobs into a user space. | The following is an RPG/LE fully free-form prototype for the IBM QUSLJOB API to create a list of user jobs into a user space. | ||
− | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusljob.htm List | + | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusljob.htm List Job (QUSLJOB) API] (right-click to open link in a new tab). |
== Prototype for the QUSLJOB API == | == Prototype for the QUSLJOB API == |
Revision as of 16:49, 7 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUSLJOB API to create a list of user jobs into a user space.
For more information on this API, visit List Job (QUSLJOB) API (right-click to open link in a new tab).
Prototype for the QUSLJOB API
//****************************************************************************** // IBM API to List User Job information into a User Space // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qusljob.htm //****************************************************************************** dcl-pr IBMAPI_ListUserJobs extpgm('QUSLJOB'); UsrJobSpace char(20) const; UsrJobLFmt char(8) const; UsrJobName char(26) const; UsrJobStat char(10) const; // optional parm group 1 UsrJobErrC likeds(ApiErrC) options(*nopass:*varsize); // optional parm group 2 UsrJobType char(1) const options(*nopass); UsrJobFldN int(10) const options(*nopass); UsrJobFldK int(10) dim(1) const options(*nopass:*varsize); // optional parm group 3 UsrJobChdl char(48) const options(*nopass); end-pr;