Clicky
Skip to Content
Custom Search

Reply to comment

Anonymous

 

Hi Everyone,
 
You might be already well versed in setting the maxcc of a program but please help me out!!!
 
Below mentioned is my requirement:-
 
The program is trying to FTP a file to destination server. It has four steps.
Step01:- Validates the FTP account
step02,03,04:- FTP's the same file to the destination server subsequently in case if previous step fails.
 
step020 exec pgm=ftpprog,
say if step020.RC > 0 then it executes 
step030 exec pgm=ftpprog,
say if step030.RC > 0 then it executes
step040 exec pgm=ftpprog
 
My requirement here is to set the Maxcc=0 if the FTP is successful in either of the three steps.
 
I have already tried the below piece of code:-
 
if ( step020.RC =0 | step030.RC =0 | step040.RC=0) then
step050 exec pgm=idcams
sysin dd *
set maxcc=0
 
Its just setting the RC of step050. 
please help me out in setting the MAXCC = 0 for the program. It would be grateful!!!!!!!

Reply

  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Navigation

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Number of Registered users 713
Theme by Dr. Radut.