Using APIs to Send Impromptu Messages
October 9, 2002 Ted Holt
Hey, Ted:
I would like to use the error message APIs QMHRMVPM and QMHSNDPM in an RPG IV program to send messages to an error-message subfile.
|
I do not want to have to define the messages in a message file. I would prefer to use constant definitions from within my RPG program. Is this possible?
I’ve searched written manuals and have not yet found a way to do this.
— Russell
Any message that is not sent as an *ESCAPE, *STATUS, or *NOTIFY message can be sent as an impromptu message, Russell. Here’s a short program you can play with. …
Read more