Retrieve Job Description Information (QWDRJOBD)
From MidrangeWiki
Revision as of 20:58, 6 December 2018 by 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 QWDRJOBD API to retrieve information for a job des...")
Summary
The following is an RPG/LE fully free-form prototype for the IBM QWDRJOBD API to retrieve information for a job description.
Prototype for the QWDRJOBD API
//****************************************************************************** // IBM API to Retrieve a Job Description's information // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qwdrjobd.htm //****************************************************************************** /include qsysinc/qrpglesrc,qwdrjobd // QWDRJOBD API data structures dcl-pr IBMAPI_RtvJobDesc extpgm('QWDRJOBD'); JobDesc likeds(QWDD0100) options(*varsize); JobDLen int(10) const; JobDFmt char(8) const; JobDName char(20) const; JobDErrC likeds(ApiErrC) options(*varsize); end-pr;