Message Data Data Structures
August 30, 2016 Hey, Ted
Sending Escape Messages from RPG is a great article. Your program defines the message data parameter as 80 bytes of character data, but the IBM Knowledge Center defines MSGDTA as char(*) with notes saying it can be up to 32,767 bytes. I would like a variable longer than 80 bytes, but instead of coding 100 today, 120 next project, and so on, how could I code it to take full advantage of the API? –Glenn You’re right that the API can handle up to 32K of data, but you need only define MsgDta as large as you need it to |