I disagree. You're assuming that the long message always has the full context. It might not, for example:
For example, if you hit error ISRD003, and displayed long message 'Panel ''&P5'' may be forcing non-display mode.' would you know that this is bad because "Max displays exceeded"? Or error ISRD008: Long message: 'Module ISRSVCBD was passed a request code of &ZSVCCODE. Contact IBM support.' Short message: Invalid SVC99 req. code Or error ISRE136: Long message: The requested line was not found. Short message: Invalid &ZLPTR -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Jon Perryman Sent: Thursday, December 18, 2025 12:16 PM To: [email protected] Subject: Re: Need Help using LMCOPY in a Rexx program On Thu, 18 Dec 2025 05:36:42 +0000, Seymour J Metz <[email protected]> wrote: >You're missing the point; the standard message panels pick up both, and don't >flip you out of full screen mode. > There may be use cases for say in ISPF dialogs, but this isn't one of them. First, ZERRLM and ZERRSM are irrelevant to the developer when using ISPF message facility. By design "ISPEXEC SETMSG MSG(" zerrmsg ")" will use ZERR variables without the user thinking ZERRSM, ZERRLM, .... Second, the OP had 2 error messages (LMINIT and LMMCOPY) but don't forget the 3rd error message needed that you want displayed to the end user. This is a very typical situation where ZERRLM is the important ZERR variable. Customers won't tolerate professional products issuing messages directly to the user those are meaningless to the user for solving their problem. ZERRSM is irrelevant. ZERRLM and ZERRMSG are the only variables that are important to the developer. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
