Try reading IEA2A832 z/OS V1R4.0 MVS Auth Assembler Services Guide: Chapter 25. Dynamic Allocation Chapter 26. Requesting Dynamic Allocation Functions
Look for the deallocation call point. You may need to free, realloc with new disp and then free again. Roger Sawtell <[EMAIL PROTECTED]> wrote I have a program which creates a number of datasets. One sequential data set is not required in certain error circumstances and I want to change the disposition from (NEW,CATLG,DELETE) to (NEW,DELETE,DELETE) on the fly. ISTR that this is possible by modifying the DCB or JFCB but RTFM and searching the archives hasn't given me any leads. Any ideas/hints gratefully received. I know I can set a return code and have an additional step to do the delete, but that means finding and changing PROCS over which I have no control. tia, Roger Sawtell Air New Zealand Ltd., ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. The information may also constitute a legally privileged confidential communication. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html