Page 1 of 1

Abend code 2574 in SAS Job.

Posted: Tue Jun 03, 2014 4:51 pm
by Gator
Hi,

I submitted a SAS FTP Job to transfer files from MVS to other server. It was working util today but today job showed rc=2574. I'm nost sure how to resolve it. Can you please suggest some pointers.

Re: Abend code 2574 in SAS Job.

Posted: Tue Jun 03, 2014 5:40 pm
by Robert Sample
FTP responses are a 5-digit number (such as 27150 or 16400) where the first two digits are the FTP subcommand (16 is GET, 27 is PUT for example) -- see the User's Guide and Commands manual in the Communications Server bookshelf for all of them -- and the last three digits are the reply code from FTP. A job completion code is a value in the range of 0 to 4095. IBM converts FTP responses to completion codes by using modulus arithmetic, so what you see as 2574 could be 27150 modulo 4096. The reply codes are (mostly) standard FTP codes but IBM has added a few interpretations itself; they can be found in the IP and SNA Codes manual in the same bookshelf.

You need to find the FTP response code to determine precisely what happened. SAS should have listed it in the job output (and there may be several messages from FTP that you need to look at). And note that with FTP it is entirely possible that your problem occurred on the remote connection and may not have anything to do with the mainframe.

Re: Abend code 2574 in SAS Job.

Posted: Wed Jun 04, 2014 4:58 pm
by Gator
Hi Robert,

Thanks. When we were FTPing the file through SAS we got this abend code 2574. It was due to connection server failure. The log showed the below message:

Code: Select all

Connection to server interrupted or timed out. Waiting for reply 
Server not responding, closing connection. 
Std Return Code = 27150, Error Code = 00009 
We've just resubmitted the job. It worked fine.

Re: Abend code 2574 in SAS Job.

Posted: Wed Jun 04, 2014 8:10 pm
by Robert Sample
Glad to hear you got it working.