Difference between revisions of "UIM Retrieve List Attributes (QUIRTVLA)"

From MidrangeWiki
Jump to: navigation, search
(Created page with "Category:RPG_Prototypes Category:API == Summary == The following is an RPG/LE fully free-form prototype for the IBM QUIRTVLA API to use the UIM to retrieve a list pane...")
 
(Summary)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:API]]
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
[[Category:API]]
 
 
== Summary ==
 
== 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 a display application.
+
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.
 +
 
 +
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quirtvla.htm Retrieve List Attributes (QUIRTVLA) API] (right-click to open link in a new tab).
 +
 
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUIRTVLA API ==
 
== Prototype for the QUIRTVLA API ==
Line 27: Line 31:
  
 
== References ==
 
== References ==
* [[ApiErrC — API Error Code]]
+
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 17:02, 17 December 2018

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.

For more information on this API, visit Retrieve List Attributes (QUIRTVLA) API (right-click to open link in a new tab).

By Dave Clark

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;

References