Difference between revisions of "Retrieve Printer File Attributes (QDFRPRTA)"
From MidrangeWiki
DaveLClarkI (talk | contribs) |
DaveLClarkI (talk | contribs) (→Summary) |
||
(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/qdfrprta.htm Retrieve Printer File Attributes (QDFRPRTA) 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/qdfrprta.htm Retrieve Printer File Attributes (QDFRPRTA) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
== Prototype for the QDFRPRTA API == | == Prototype for the QDFRPRTA API == | ||
Line 24: | Line 26: | ||
== References == | == References == | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 16:58, 17 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QDFRPRTA API to retrieve attributes for a printer file definition.
For more information on this API, visit Retrieve Printer File Attributes (QDFRPRTA) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QDFRPRTA API
//****************************************************************************** // IBM API to Retrieve Printer File Attributes // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qdfrprta.htm //****************************************************************************** /include qsysinc/qrpglesrc,qdfrprta // QDFRPRTA API data Structures dcl-pr IBMAPI_RtvPrtFileAttr extpgm('QDFRPRTA'); PrtFileAttr likeds(QDFF0100) options(*varsize); PrtFileALen int(10) const; PrtFileAFmt char(8) const; PrtFileName char(20) const; PrtFileErrC likeds(ApiErrC) options(*varsize); end-pr;