Hi, I have the below requirement in our project. Please do the needful. Requirement: Do FTP connection and retrieve the files from different FTP server. Input: FTP Credentials (FTP User name, Password, FTP server details) in the mainframe PS file. Process: Connect with FTP server using the credetials in the input file and Retrieve the files from server using 'FILENAME' statement. If there is any FTP error, Retry the FTP connection three times or till successful The error should be written into the error output file and the program should continue for the next server. Output: Success output file with retrieved data Error output file with FTP connection error. Issue: Whenever there is FTP connection error, the program throws error with MAXCC = 8. Expected solution: Option 1: Overwriting the system return code to JCL. Option 2: Before foing FTP connection for retrieving, i want to check whether the server is UP or down to avoid the error. Appreciate your help. Thanks in advance, Saradhadevi. I
... View more