Thanks for your inputs. The process is FTP'ing a file to destination it is using a proc to do this. The proc contains of three steps which does the same FTP in all the three steps in case of a failure of other.Now if there's an FTP failure in STEP010 a Return code of more than zero will be issued(there might be some reason behind stating the server not available for that fraction of seconds) and it will be retried in next stop.If it passes through that step (say STEP020 ) our job is failing as it's picking up the maximum return code of the failed STEP010 in the earlier attempt.
Now that we are trying to fix this by overriding the retrun code of the job with the help of JOBRC parameter which got intorduced in z/OS 1.13 version.
Thanks a lot . Can you let me on how to use this parameter in our JCL. Pasted below is the code that i have been working on.
//xxxxxxxx JOB (xxxx,XXXXXX,,,),'JOB RC',CLASS=H,
//PROCLIB JCLLIB ORDER=PROC.DATASET
//STEP060 EXEC PROCTST
//STEP010 EXEC PGM=IEFBR14
//STEP020 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// IF (STEP010.RC = 0 | STEP020.RC = 0) THEN
//STEP030 EXEC PGM=IEFBR14
Kindly help me out with this.
Thanks in advance!!!!
Above pasted is the code that i have been working on.