On Fri, 18 Nov 2016 11:42:33 -0600, Elardus Engelbrecht wrote:

>I would suggest that you ensure that the dataset is freed / un-allocated 
>(BPXWDYN is very useful here) after the write and before the rename.

Right. If it is allocated, the rename will fail.
What do you do if another address space has it allocated?
How will you rename it from Cobol?
What if the rename fails because the new DSNAME exixts?

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to