Retrieve Message (QMHRTVM)
From MidrangeWiki
Revision as of 16:21, 1 February 2018 by DaveLClarkI (talk | contribs) (DaveLClarkI moved page QMHRTVM to QMHRTVM — Retrieve Message: More descriptive titles.)
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)