We have a job that is coded as follows-

step1 - idcams repro dummy in to file1,disp=(mod,catalg)

step2  repro above (dummied) file1 , disp=(old,delete,keep)
to file2 disp=(,catlg)

when we get a B37 on step2 file2, file1 is deleted even though it has 
disp=(old,delete,keep)

I've scoured the rules and this seems it should work.


Effect of abnormal termination during execution
When a step abnormally terminates but is not automatically restarted, its data 
sets are disposed of as specified by the abnormal termination disposition. If 
an abnormal termination disposition is not specified, the normal termination 
disposition is processed.

Effect of abnormal termination during allocation
If a job step fails during step allocation, the system disposes of the data 
sets as follows: 
•       Deletes a data set being created in the step.
•       Keeps a data set that existed before the step.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to