So, the question is, might we setup some kind of a PING process and then
depending on the RC from the PING either enter a WAIT for 60 seconds or
continue?
What do you do?
Program
Err
RC
Err Code
Server
Error Text
FTP
2651
27227
00009
SCAIX403
Connection to Server Interrupted or Timeout
FTP
1808
10000
00008
SCAIX403
Connection to Server Interrupted or Timeout
FTP
2651
27227
00009
SCAIX403
Connection to Server Interrupted or Timeout
FTP
2874
27450
00002
SCAIX403
Cannot open or remove a file containing a running program.
FTP
2651
27227
00009
SCAIX403
Connection to Server Interrupted or Timeout
FTP
1954
26530
00011
SCAIX205
Login incorrect
FTP
1808
10000
00008
SCAIX404
Connection to Server Interrupted or Timeout
FTP
1808
10000
00008
SCAIX403
Connection to Server Interrupted or Timeout
FTP
1808
10000
00008
SCAIX403
Connection to Server Interrupted or Timeout
Thanks.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Thanks
Bill Bishop
Specialist
Mainframe Support Group
Server Development & Support
Toyota Motor Engineering & Manufacturing North America, Inc.
bill....@tema.toyota.com
(502) 570-6143
John P Donnelly <John.P....@NSC.COM>
Sent by: IBM Mainframe Discussion List <IBM-...@BAMA.UA.EDU>
03/07/2008 11:08 AM
Please respond to
IBM Mainframe Discussion List <IBM-...@BAMA.UA.EDU>
Subject
FTP Failures
Doing a PING first will let you know if you can connect at all, but it
won't help guarantee the FTP will succeed. We have many jobs that
connect successfully to an FTP server, begin the transfer and then fail.
What we do is call a REXX which calls FTP and tests the RC. If it isn't
zero, the REXX calls a "sleep" program for 60 seconds, and then loops
through the FTP commands up to 9 times.
This has helped us immensely, but it doesn't completely eliminate
failures, and can't help at all in situations where files need to be
deleted or renamed (trying to execute those commands more than once
usually results in failure or, worse, the wrong file being deleted or
renamed).
HTH,
Greg Shirey
Ben E. Keith Company
-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of John P Donnelly
Sent: Friday, March 07, 2008 10:07 AM
So, the question is, might we setup some kind of a PING process and then
depending on the RC from the PING either enter a WAIT for 60 seconds or
continue?
What do you do?
<snip>
In the security-conscious IT world in which we find ourselves, there's
also no guarantee that the foreign host will respond to ICMP packets.
--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
edj...@phoenixsoftware.com
http://www.phoenixsoftware.com/
http://www.sdsusa.com/sfm/general.htm
Cal
You can encapsulate your ftp in a rexx program that would retry as many
times as needed in a single jcl step.
HTH,
Walter.