I need helpon the below scenario.
STEP010 executes a FTP program called progftp. If the RC of STEP010 is greater than 0 it executes STEP020, like EXEC pgm=progftp, if step020.RC > 0 then it executes
step040 with pgm=progftp.
I need to set the MAXCC=0, if the FTP is successful in either of the three steps.
I tried the below code:
Code: Select all
IF ( STEP010.RC =0 | STEP020.RC =0 | STEP030.RC=0) then
//STEP050 EXEC PGM=IDCAMS
//SYSIN DDd *
set maxcc=0
/*
//*