IIRC, the programmer now has all the tools/features needed to handle conditions that would have resulted in an abnormal termination in anchient times.
Some of this behaviour is by default (especially in C programs), and sometimes gives our produciton scheduler folks fits. (If there is no visible ABEND, then there is no visible exception, and the alarms are not tripped.) Indeed, we may soon have to drop 'abend' from our lexicon and use some deritive of 'unhandled condition'. For sure the programmer has a greater responsibility to insure that the program behaves as expected in unexpected situations. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of McKown, John Sent: Thursday, April 14, 2011 10:46 AM To: [email protected] Subject: Re: Cobol and SMS question > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.) > Sent: Tuesday, April 12, 2011 12:54 PM > To: [email protected] > Subject: Re: Cobol and SMS question > > In <listserv%[email protected]>, on 04/12/2011 > at 09:54 AM, Paul Gilmartin <[email protected]> said: > > >Doesn't this require also that the programmer provide an exit to > >divert the ABEND S%13 which otherwise results from an OPEN failure > >and causes program termination. > > Your question has an assumption contrary to fact. There is no Sx13 > ABEND for a missing DD statement. > > TM DCBOFLGS,DCBOFOPN > > -- > Shmuel (Seymour J.) Metz, SysProg and JOAT Right. IIRC, the Sx13 abend happens when there is a DD, but there is something "wrong" with it. Like OPEN for INPUT on a member which does not exist in the PDS. Or invalid or missing DCB information (eg: LRECL=80,RECFM=FB,BLKSIZE=90 in the JCL). Or "dataset not on volume". -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

