I agree. In fact, when I started learning C I liked it enough that I made a set of z/OS assembler macros and subroutines to sort of simulate some of the C methods I liked best. For example:

 #PRINTF 'IGW%05dE Member %s with length %d is too large for a PDS',
       MSGID,MEMBER,LEN

On 11/9/2018 4:16 PM, Charles Mills wrote:
It is one of the benefits of working in C or C++: it is trivially easy to 
produce incredibly informative error messages:

CZA0082S Error detected while processing maximum message length ('20') of 
'MAXMSG'
CZA0084I   Near column 48 of record 46 of Parameter File 
xxxxxxx.xxxxxxxx.CZAPARMS(CZAPARMS)
CZA0105I                                                  V
CZA0106I     SERVER 172.29.97.4         TRANS(TCP) MAXMSG(20  )   +
CZA0023S   Value must be numeric and between 512 and 2500000

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Brennan
Sent: Friday, November 9, 2018 3:45 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IGW01203E MEMBER xxxxxxxx EXCEEDS LIMITATIONS FOR PDS LOAD MODULES.

In assembler I tended to code that way initially, while promising myself
I would add separate error messages as soon as I got the kinks out.  Sure.

On 11/9/2018 3:20 PM, Charles Mills wrote:
EXACTLY

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Brennan
Sent: Friday, November 9, 2018 3:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: IGW01203E MEMBER xxxxxxxx EXCEEDS LIMITATIONS FOR PDS LOAD MODULES.

http://www.mildredbrennan.com/mvs/error_logic.png

On 11/9/2018 2:32 PM, Charles Mills wrote:
Geez, again, would it kill them to say that in the error message?


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to