Example

For the message named ABCS102, return the text of the long message in variable ERRMSG and the help panel name in variable HPANEL.
ISPEXEC GETMSG MSG(ABCS102) LONGMSG(ERRMSG) HELP(HPANEL)
or Set the program variable BUFFER to contain:
GETMSG MSG(ABCS102) LONGMSG(ERRMSG) HELP(HPANEL)
Set program variable BUFLEN to the length of the variable BUFFER. Enter the command:
CALL ISPEXEC (BUFLEN, BUFFER);

or alternately

CALL ISPLINK ('GETMSG  ','ABCS102 ',' ','ERRMSG ',
              ' ','HPANEL ');