Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
There are 3 mistakes in your code that jump out at me:
That advice applies to all other program calls as well, not just this API.
Hope that helps
I am trying to Write a Program Message to CPF9898 to display in a message subfile
It Is not Displaying
Here are my D specs D msgId s 7A INZ('CPF9898') D msgLoc s 20A inz('QCPFMSG *LIBL ') D msgRplDta s 3000A Varying D msgRplDtaLen s 4B 0 inz(0) D msgType s 10A inz('*INFO') D msgQueue s 276A inz('*') D msgCallStack s 4B 0 inz(0) D msgKey s 4A inz(' ') D msgErr s 4B 0 inz(0) D msgrmv s 10A inz('*ALL')
call 'QMHSNDPM' parm msgId parm msgLoc parm msgRplDta parm msgRplDtaLen parm msgType parm msgQueue parm msgCallStack parm msgKey parm msgErr
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.