|
Your prototype is wrong. MessageKey (as you pointed out) is a returned value. You therefore cannot define it as "CONST". On Thu, 19 Apr 2001 rob@dekko.com wrote: > > MsgKey is defined like MessageKey. It is a return variable, not something > you send. You can then use this key in other api's to get back the > response, (if any) that someone may send to this message. The key could > also be used to remove the message from the stack after you sent it. > Check out: > >http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/QMHSNDPM.htm > > > D qmhsndpm PR EXTPGM('QMHSNDPM') > D MessageId 7A CONST > D MessageFile 20A CONST > D MsgDataOrText 300A CONST OPTIONS(*VARSIZE) > D MsgDataLen 10I 0 CONST > D MessageType 10A CONST > D CallStackEnt 30A CONST OPTIONS(*VARSIZE) > D CallStackCtr 10I 0 CONST > D MessageKey 4A CONST > D qmhsndpmErr LIKE(ErrorCodeP) +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.