Difference between revisions of "Retrieve Job Description Information (QWDRJOBD)"
From MidrangeWiki
DaveLClarkI (talk | contribs) |
DaveLClarkI (talk | contribs) (→Summary) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qwdrjobd.htm Retrieve Job Description Information (QWDRJOBD) API] (right-click to open link in a new tab). | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qwdrjobd.htm Retrieve Job Description Information (QWDRJOBD) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
== Prototype for the QWDRJOBD API == | == Prototype for the QWDRJOBD API == | ||
Line 24: | Line 26: | ||
== References == | == References == | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 16:56, 17 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QWDRJOBD API to retrieve information for a job description.
For more information on this API, visit Retrieve Job Description Information (QWDRJOBD) API (right-click to open link in a new tab).
By Dave Clark
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;