At 10:36 +1200 on 08/16/2005, Roger Sawtell wrote about Changing DISPosition on the fly:

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.

How about outputting a job (via INTRDR) that will delete the file after the fact? If the job has the same name as the current job it will sit in the JES Queue until the current job has completed and becomes eligible for execution.


tia,

Roger Sawtell
Air New Zealand Ltd.,

----------------------------------------------------------------------
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

Reply via email to