Open List of Authorized Users (QGYOLAUS)
From MidrangeWiki
Revision as of 18:46, 6 December 2018 by DaveLClarkI (talk | contribs) (→Prototype for the QGYOLAUS API)
Summary
The following is an RPG/LE fully free-form prototype for the IBM QGYOLAUS API to open a list of authorized users on the system based on the specified selection criteria.
Prototype for the QGYOLAUS API
//****************************************************************************** // IBM API to open a list of authorized users // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qgyolaus.htm //****************************************************************************** /include qsysinc/qrpglesrc,QSYRAUTU // QGYOLAUS API data structures dcl-pr IBMAPI_ListAuthorizedUsers extpgm('QGYOLAUS'); LstRcvVar likeds(QSYU0250) options(*varsize); LstRcvVarLen int(10) const; LstLstInf char(80); LstNbrRcdRtn int(10) const; LstFmtName char(8) const; LstSltCri char(10) const; LstGrpName char(10) const; LstErrCode likeds(ApiErrC) options(*varsize); // optional parm group LstPrfName char(10) const; end-pr;