UIM Retrieve List Attributes (QUIRTVLA)
From MidrangeWiki
Revision as of 20:11, 6 December 2018 by DaveLClarkI (talk | contribs) (DaveLClarkI moved page QUIRTVLA — Retrieve List Attributes to UIM Retrieve List Attributes (QUIRTVLA): Better Indexing (too many Q's))
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUIRTVLA API to use the UIM to retrieve a list panel's attributes (data structure template also provided, below) from an open display application.
Prototype for the QUIRTVLA API
//****************************************************************************** // IBM Retrieve List Attributes API // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quirtvla.htm //****************************************************************************** dcl-pr IBMUIM_RetrieveListAttributes extpgm('QUIRTVLA'); RaHandle char(8) const; RaLstName char(10) const; RaBuffer char(32767) options(*varsize); RaBufLen int(10) const; RaErrCode likeds(ApiErrC) options(*varsize); end-pr; dcl-ds IBMUIM_ListAttrb qualified inz template; Content char(4); ExitVar char(10); DspPos char(4); AlwTrim char(1); end-ds;