If an error occurs, an error message is formatted before control returns to the function. This list defines the contents of the system variables that are used to format error messages:
ZERRMSG, ZERRSM, and ZERRLM are changed only when the return code from a DM component service is greater than 8.
These system variables are in the function pool, if it exists. Otherwise, they are in the shared variable pool.
ISPEXEC SETMSG MSG( ISRZ002 )
ISPEXEC LOG MSG( ISRZ002 )
The service provides the short- and long-message text, the name of the corresponding help panel, and the alarm setting for your use.