Clark stated, "If the statement //SYSOUT DD some parameters is missing and you have a DISPLAY something in your program and the LE runtime option CBLQDA is (ON), the program will dynamically allocate a temporary file with DISP=(NEW,DELETE) and write to it. This is true for all QSAM files. If the LE option is CBLQDA(OFF), you will get an abend on OPEN (or for DISPLAY, first write). CBLQDA(ON) is purportedly to conform to the COBOL standard although the standard assumed that the file would remain somewhere.
Clark Morris" This is simply WRONG, THE CBLQDA run-time option ONLY impacts the COBOL I/O verbs Read Write REWRITE (actually - it really just applies to OPEN) It does NOT impact DISPLAY (or ACCEPT). See (for example) http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ceea31b0/1.2.11.1 OP, You MIGHT want to look at the ENQ/NOENQ suboption of MSGFILE. It does talk about when an ATTACH is going on or other LE processes might be happening. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN