Hi All,
Could you please advise.
I have a Windows batch script which runs in the last step of a job chain which checks whether the file exists or not. If exists, it returns ZERO return code and control goes to the previous Step 2 to Run a ABAP program.(using final status handlers ON COMPLETED: GOTO STEP 2).
If the file don't exist, the last step returns the NON-ZERO returns code and the last step gets errored which stops the control to previous Step 2. The chain is marked as completed as I have defined the final status handlers on the last step: ON ERROR: MARK CHAIN AS COMPLETED.
Could you please advise how can I make the last step as successful even though the file exists or not. Also In this scenario, if the file don't exist, I have to stop the looping.
Thank you in advance.
Regards,
Ramana