Example of the PATHDISP parameter
//DD1 DD PATH='/usr/applics/pay.time',PATHDISP=(KEEP,DELETE)
The DD statement identifies a file that already exists. The DD statement requests that the system keep the file, if the step ends normally. If the step ends abnormally, the system deletes the filename and, if no other names were set using link(), deletes the file itself.