Hi Shmuel AMV"SH,
My experience has been that when the OPEN fails (e.g. missing/incorrect ALLOCATion), the program gets an x13 ABEND and does not get as far as checking DCBxxxxx.

Regards,
David

On 2023-07-04 09:03, Seymour J Metz wrote:
   *   Failing to test DCBOFOPN after OPEN


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Peter Relson [rel...@us.ibm.com]
Sent: Tuesday, July 4, 2023 8:15 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: 0C1 abend

As Tom M mentioned, there are "commonly" encountered general situations.

It seems the same question would apply to almost any error encountered; 
Operation exception is probably one of the easier ones to diagnose in many 
cases.

Some of the "commonly" would be

   *   Wild branch to uninitialized storage at which the data is not a valid 
instruction
   *   Branch to 0 because of an uninitialized pointer, at which the data is 
not normally a valid instruction
   *   Use of an instruction that is not valid on the machine on which your 
program is running

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
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