Difference between revisions of "Retrieve Message (QMHRTVM)"

From MidrangeWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:RPG_Prototypes]]
 
[[Category:RPG_Prototypes]]
= Prototype for the [[QMHRTVM]] API =
+
[[Category:API]]
 +
= Summary =
 +
The QMHRTVM api is used to retrieve message's from [[message files]] and optionally replace substitution data.
 +
= Prototype for the QMHRTVM API =
 
<pre>
 
<pre>
 
     DQMHRTVM          PR                  EXTPGM('QMHRTVM')
 
     DQMHRTVM          PR                  EXTPGM('QMHRTVM')
Line 19: Line 22:
  
 
== References ==
 
== References ==
* [[QMHRTVM]]
 
 
* [[QMHRTVM_PCML]]
 
* [[QMHRTVM_PCML]]

Revision as of 15:06, 31 July 2007

Summary

The QMHRTVM api is used to retrieve message's from message files and optionally replace substitution data.

Prototype for the QMHRTVM API

     DQMHRTVM          PR                  EXTPGM('QMHRTVM')
     D  pMsgInfo                  32767a   options(*varsize)
     D  pMsgInfoLen                  10i 0 const
     D  pReturnFmt                    8a   const
     D  pMsgId                        7a   const
     D  pMsgFile                     20a   const
     D  pMsgData                  32767a   const options(*varsize)
     D  pMsgDataLen                  10i 0 const
     D  pReplSubst                   10a   const
     D  pRtnCtrl                     10a   const
     D  pApiErrorDS               32767a   options(*nopass:*varsize)
     D  pRtvOption                   10a   options(*nopass)
     D  pCCSID                       10i 0 const options(*nopass)
     D  pReplCCSID                   10i 0 const options(*nopass)

References