Difference between revisions of "UIM Set List Attributes (QUISETLA)"

From MidrangeWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
  
 
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quisetla.htm Set List Attributes (QUISETLA) API] (right-click to open link in a new tab).
 
For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quisetla.htm Set List Attributes (QUISETLA) API] (right-click to open link in a new tab).
 +
 +
By [[User:DaveLClarkI|Dave Clark]]
  
 
== Prototype for the QUISETLA API ==
 
== Prototype for the QUISETLA API ==
Line 30: Line 32:
 
end-ds;
 
end-ds;
 
</pre>
 
</pre>
 +
 +
== Example ==
 +
See the [[Find Source Member (FNDSRCMBR)]] sample command.
  
 
== References ==
 
== References ==
 
* [[API Error Code Structure (ApiErrC)]]
 
* [[API Error Code Structure (ApiErrC)]]

Latest revision as of 21:07, 3 January 2019

Summary

The following is an RPG/LE fully free-form prototype for the IBM QUISETLA API to use the UIM to set a list panel's attributes (data structure template also provided, below) within an open a display application.

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

By Dave Clark

Prototype for the QUISETLA API

//******************************************************************************
// IBM Set List Attributes API
// https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quisetla.htm
//******************************************************************************
dcl-pr IBMUIM_SetListAttributes   extpgm('QUISETLA');
  SaHandle              char(8)   const;
  SaLstName             char(10)  const;
  SaContent             char(4)   const;
  SaPgmDvar             char(10)  const;
  SaDspPosA             char(4)   const;
  SaAlwTrim             char(1)   const;
  SaErrCode             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;

Example

See the Find Source Member (FNDSRCMBR) sample command.

References