Difference between revisions of "List Spooled Files (QUSLSPL)"
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 QUSLSPL API to create a list of spooled files into...") |
DaveLClarkI (talk | contribs) |
||
Line 1: | Line 1: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:RPG_Prototypes]] | [[Category:RPG_Prototypes]] | ||
+ | [[Category:User_Spaces]] | ||
== Summary == | == Summary == | ||
Revision as of 21:25, 6 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUSLSPL API to create a list of spooled files into a user space.
Prototype for the QUSLSPL API
//****************************************************************************** // IBM API to List Spooled File information into a User Space // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/QUSLSPL.htm //****************************************************************************** dcl-pr IBMAPI_ListSpooledFiles extpgm('QUSLSPL'); SplSpcName char(20) const; SplFmtName char(8) const; SplUsrName char(10) const; SplQueName char(20) const; SplFormTyp char(10) const; SplUsrData char(10) const; // optional parm group 1 SplErrCode likeds(ApiErrC) options(*nopass:*varsize); // optional parm group 2 SplJobName char(26) const options(*nopass); SplFldKeys int(10) dim(28) options(*nopass:*varsize); SplFKeyCnt int(10) const options(*nopass); // optional parm group 3 SplASPName int(10) const options(*nopass); // optional parm group 4 SplJSystem char(8) const options(*nopass); SplStgDate char(7) const options(*nopass); SplStgTime char(6) const options(*nopass); SplEdgDate char(7) const options(*nopass); SplEdgTime char(6) const options(*nopass); // optional parm group 5 SplASPDevN char(10) const options(*nopass); end-pr;