Still should work, but only for QSAM files. To work on VSAM files would require reverse engineering the OCO FIB structure in the COBOL runtime to find the ACB.
Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Andreas F. Geissbuehler Sent: Tuesday, February 11, 2014 9:44 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: file types IMHO defining two FD's wins the simplicity and clarity medal. However I used the subroutine method in the (distant!) past to change the DDNAME on the fly: CLOSE FD-FILE-NAME. MOVE IN-REGION TO DDNAME-SUFFIX. CALL 'FDFIXUP' USING FD-FILE-NAME, DDNAME. OPEN OUTPUT FD-FILE-NAME. e.g. to write / output each region's report (-section) to its own DD-statement (RJE remote printing / routing, microfiche). I don't know but expect it to still work in the current COBOL releases. -- 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