Organization: K.U.Leuven (Belgium)
Newsgroups: bit.listserv.ibmtcp-l
Date:         Mon, 25 Jan 1993 10:06:19 UTC+0100
From:         Jean Pernet <S0CO014@CC2.KULEUVEN.AC.BE>
Subject:      FTP time out

Hi list,

Has anyone encountered this problem?

When FTP-ing to MVS, with filetype=jes, sometimes the connection
closes after the period specified in the FTPSERVE-procedure (thru
INACTIVE ...) when doing a DIR command.

I was able to trace the problem. This was the situation:
- I FTP from our VM/XA system (FTP V2R1) to MVS/ESA 3.1.3, (TCPIP and
FTP V2R2M1. On MVS/ESA there are 2 jobs (S0CO014A) both with more than
200 held datasets.
MVS runs as a V=R guest on VM/XA. TCPIP's are connected over VTAM's
virtual CTC's.

Here follows the VM/XA log:
--------------------------
ftp cc2
VM TCP/IP FTP V2R1
Connecting to CC2 134.58.11.2, port 21
220-FTPSERVE IBM MVS V2R2 at CC2.KULEUVEN.AC.BE, 09:11:58 on 01/25/93
220 Connection will close if idle for more than 10 minutes.
USER (identify yourself to the host):
s0co014
>>>USER s0co014
331 Send password please.
Password:
>>>PASS ********
230 S0CO014 is logged on.
Command:
site filetype=jes
>>>SITE filetype=jes
200 Site command was accepted
Command:
dir
>>>PORT 134,58,11,1,4,141
200 Port request OK.
>>>LIST
125 List started OK.
*** Control connection with CC2 dies: Foreign host aborted the connection
*** No data transferred
Command:
quit
Ready;

Here follows the trace from FTPSERVE on MVS.
--------------------------------------------
 FTSSUB008I ConnInfo Array located at 0491F0C4
 FTSUTL024I OpenConnection(00000000,21,00000000,65535,2147483647,FALSE
 FTSUTL013I AdvertizeService gets connection #0
 FTSRVP022I Got note Connection state changed for #0, Trying to open
 FTSUTL024I OpenConnection(00000000,21,00000000,65535,2147483647,FALSE
 FTSUTL013I AdvertizeService gets connection #1
 FTSRVP022I Got note Connection state changed for #0, Open
 FTSEVN502I Allocating buffer of 8192 bytes
 FTSEVN503I Allocating RdFromDiskBuf of 16384 bytes
 FTSUTL026I ReinitContConn(0)
 FTSUTL050I Send reply '220-FTPSERVE IBM MVS V2R2 at
 CC2.KULEUVEN.AC.BE, 09:11:58 on 01/25/93'
 FTSUTL050I Send reply '220 Connection will close if idle
 for more than 10 minutes.'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note Data delivered for #0, 14 bytes
 FTSEVN560I 14 bytes arrived on conn #0
 FTSUTL050I Send reply '331 Send password please.'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note Data delivered for #0, 15 bytes
 FTSEVN560I 15 bytes arrived on conn #0
 FTSUTL050I Send reply '230 S0CO014 is logged on.'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note Data delivered for #0, 19 bytes
 FTSEVN560I 19 bytes arrived on conn #0
 FTSUTL050I Send reply '200 Site command was accepted'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note Data delivered for #0, 24 bytes
 FTSEVN560I 24 bytes arrived on conn #0
 FTSUTL050I Send reply '200 Port request OK.'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note Data delivered for #0, 6 bytes
 FTSEVN560I 6 bytes arrived on conn #0
 FTSSUB507I Dolist Args=""
 FTSSUB506I DoList '*'
 FTSUTL020I GetData(0)
 FTSUTL022I In GetData, TcpFReceive: Where = 1
 FTSRVP022I Got note User-defined notification for #0
 FTSUTL024I OpenConnection(863A0B02,20,863A0B01,1165,30,TRUE
 FTSUTL050I Send reply '125 List started OK.'
 FTSSUB061I DoList2: Setting CmdInProgress to LIST on conn #2, was USER
 FTSUTL052I ReinitDataConn(2)
 FTSUTL053I FtpFormat: A FtpMode: S FtpOptFormat: 0
 FTSUTL054I RecordFormat: V RecordLength: 65535
 FTSRVP022I Got note Connection state changed for #2, Nonexistent
 FTSRVP024I Foreign host rejected the open attempt
 FTSEVN511I CloseCompleted on #2: Foreign host rejected the open attempt
 FTSEVN512I Error completion on #2: Foreign host rejected the
 open attempt
 FTSSUB009I TidyFile: Connection #2, Untidy=FALSE
 FTSUTL050I Send reply '426 Data transfer aborted.'
 FTSUTL056I DataReply: Setting CmdInProgress to CUNKNOWN on conn #2,
 was LIST
 FTSRVP022I Got note Timer expired for #-48, Datum = 0
 FTSEVN514I TimerExpiredEvent for connection #0
 FTSEVN517I About to EXTERMINATE connection #0
 FTSUTL010I Aborting connection #0
 FTSRVP022I Got note FReceive error for #0, ReceiveTurnCode = 255
 FTSRVP022I Got note Connection state changed for #0, Nonexistent
 FTSRVP024I You aborted the connection
 FTSEVN511I CloseCompleted on #0: You aborted the connection
 FTSRVP022I Got note Other external interrupt received for #-48,
 RuptCode = 64
 FTSUTL010I Aborting connection #1
 FTSRVP022I Got note Connection state changed for #1, Nonexistent
 FTSRVP024I You aborted the connection
 FTSEVN511I CloseCompleted on #1: You aborted the connection

Any help will be appreciated as I'm not at all a TCPIP specialist.


 ----------------------------------------------------------------------
 |Jean Pernet                  |Bitnet: <S0CO014@BLEKUL21.BITNET>     |
 |MVS system programmer        |Internet: <S0CO014@CC2.KULEUVEN.AC.BE>|
 |K.U.Leuven Computer Center   |Tel: (+32) (16) 28 66 11              |
 |Systems group                |Fax: (+32) (16) 20 71 68              |
 ----------------------------------------------------------------------
Newsgroups: bit.listserv.ibmtcp-l