Difference between revisions of "Open List of Authorized Users (QGYOLAUS)"

From MidrangeWiki
Jump to: navigation, search
(Created page with "Category:API Category:RPG_Prototypes == Summary == The following is an RPG/LE fully free-form prototype for the IBM QGYOLAUS API to open a list of authorized users on...")
 
(Summary)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
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.
 
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.
 +
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qgyolaus.htm Open List of Authorized Users (QGYOLAUS) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QGYOLAUS API ==
 
== Prototype for the QGYOLAUS API ==
Line 11: Line 15:
 
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qgyolaus.htm
 
// 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');
 
dcl-pr IBMAPI_ListAuthorizedUsers extpgm('QGYOLAUS');
   LstRcvVar            char(65535)         options(*varsize);
+
   LstRcvVar            likeds(QSYU0250)   options(*varsize);
 
   LstRcvVarLen          int(10)  const;
 
   LstRcvVarLen          int(10)  const;
 
   LstLstInf            char(80);
 
   LstLstInf            char(80);
Line 26: Line 31:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]
* [[QGYGTLE — Get List Entries]]
+
* [[Get List Entries (QGYGTLE)]]
* [[QGYCLST — Close List]]
+
* [[Close List (QGYCLST)]]

Latest revision as of 16:52, 17 December 2018

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.

For more information on this API, visit Open List of Authorized Users (QGYOLAUS) API (right-click to open link in a new tab).

By Dave Clark

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;

References