On Tue, 4 Jul 2023 11:34:57 -0400, David Spiegel wrote: >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. > <https://www.ibm.com/docs/en/zos/2.5.0?topic=qsam-open-return-codes> When your program receives control after issuing an OPEN macro, the return code in register 15 indicates if all the data sets were opened successfully. OPEN can fail with a non-zero return code and a message, but no ABEND.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
