Re: Changing DISPosition on the fly



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 <rogers_lists@xxxxxxxxxxx> 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: Health Checker
    ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ... to the intended recipient, you are hereby notified that any ... If you have received this communication ...
    (bit.listserv.ibm-main)
  • Re: WELLS FARGO QUESTION
    ... > send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... > Search the archives at http://bama.ua.edu/archives/ibm-main.html ... The information contained in this communication (including any ... intended recipient, you are hereby notified that you have received this ...
    (bit.listserv.ibm-main)
  • RE: file size
    ... The information contained in this communication (including any ... delivering it to the intended recipient, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • Re: FILTER cmd not working in batch SDSF?
    ... version of what worked for the archives, and a big Thank You to Ken. ... message is not the intended recipient or an authorized representative of the ... communication is strictly prohibited. ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: System crash
    ... immediately by replying "Received in error" and immediately delete ... to its intended recipient, you are hereby notified that any ... distribution or copying of this communication is strictly prohibited. ... message and all its attachments. ...
    (RedHat)