I have a problem with a RC in my jcl , to put you in context :
JCL X ==> PROC A
STEP 1 : Through "REPRO COUNT(1) VALIDATE if input file is empty or not
IF RC.STEP1= 0 (input file contains data)
ELSE (Empty file)
then when i have an empty file , the proc returns an RC=04 , therefore the JCL ends with RC=04.
Now my question:
How can i handle the rc=04 , in order to my jcl ends with rc=00 eventhough i am processing an empty file.
Should i add an set maxcc o lastcc to the code ? Does it works for procs ?
Thanks in advance