Hi !
I have a JCL which has two steps.
STEP1 DELETES OLD FILES
STEP2 EXECUTES A PROGRAM AND CREATES NEW FILES
Due to some reason if STEP2 abends i am ending up with OLD files getting deleted without the new files being created.
Is there any way to control STEP1 execution based on STEP2 return code.
Is it possible in any way to revert back the DELETE of STEP1 based on error from STEP2.
I appreciate any suggestion...
Thanks..
I have a JCL which has two steps.
STEP1 DELETES OLD FILES
STEP2 EXECUTES A PROGRAM AND CREATES NEW FILES
Due to some reason if STEP2 abends i am ending up with OLD files getting deleted without the new files being created.
Is there any way to control STEP1 execution based on STEP2 return code.
Is it possible in any way to revert back the DELETE of STEP1 based on error from STEP2.
I appreciate any suggestion...
Thanks..