And a follow-up question: If I have to chase control blocks, it is possible for a COBOL program to determine the CAA address without using an assembler subroutine?
If it matters, COBOL version here is currently 5.2, 6.x is coming soon. Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Farley, Peter x23353 Sent: Tuesday, November 12, 2019 1:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Dynamically detect if CBLQDA is active from a COBOL program? Is it possible for a COBOL program to dynamically detect if LE option CBLQDA is active? I have reviewed the LE callable subroutines and don't see an existing service which returns that information. Do I have to chase the LE control blocks to determine this information? (CAA -> CEECAAEDB -> CEEEDBOPTCB -> CEEOCB_CBLQDA) If so, what bit determines if it is currently turned on (I don't care where it came from, just whether it is active or not)? Would that be CEEOCB_CBLQDA_ON = "X'80'"? z/OS release is 2.2 if that matters. Peter -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN