Get List Entries (QGYGTLE)

From MidrangeWiki
Revision as of 15:25, 6 December 2018 by DaveLClarkI (talk | contribs) (DaveLClarkI moved page QGYGTLE — Get List Entries to Get List Entries (QGYGTLE): Better Indexing (too many Q's))
Jump to: navigation, search


The following is an RPG/LE fully free-form prototype for the IBM QGYGTLE API to get entries from an open list.

Prototype for the QGYGTLE API

// IBM API to get entries from an open list
dcl-pr IBMAPI_GetListEntries      extpgm('QGYGTLE');
  LstRcvVar             char(65535)         options(*varsize);
  LstRcvVarLen          int(10)   const;
  LstHandle             char(4)   const;
  LstInfo               char(80);
  LstNbrRcdRtn          int(10)   const;
  LstRtnRcdNbr          int(10)   const;
  LstErrCode            likeds(ApiErrC)     options(*varsize);