I will give this a try in the real world. In my tests it has proven to be 
correct. 
Thanks Jon

Regards – Grant



DTCC Internal (Green)

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jon Jon
Sent: 17 January 2019 21:51
To: [email protected]
Subject: Re: [External] Re: Using IF/THEN/ELSE for return code checking

ATTENTION! This email originated outside of DTCC; exercise caution.


Isn't it
   IF (ABEND|¬(RC=0|BKDSN.RC<=4)) THEN
ALERT
   ENDIF

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
DTCC DISCLAIMER: This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error, please notify us 
immediately and delete the email and any attachments from your system. The 
recipient should check this email and any attachments for the presence of 
viruses.  The company accepts no liability for any damage caused by any virus 
transmitted by this email.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to