We use the followings steps

Del targetfilename.$TMP$

Put sourcefilename targetfiname.$TMP$

If the put is RC 0 then the dataset is complete

Ren targetfilename.$TMP$ realtargetname

The rename is atomic, and will fails if the real target dataset exist on evry 
platform

 

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