David Mabey asked:
> Gesendet: Mittwoch, 11. April 2007 00:07
> I am using FILENAME FTP to feed a large file that
> resides on z/OS tape to a batch SAS DATASTEP running
> on a PC. Every thing works fine until the tape robot
> needs to mount a new tape. Then the job hangs. The SAS
> log never completes and the SAS dataset that is being
> produced remains locked.
> I suspect that FTP is timing-out, but I don't know how
> to fix the problem.
> Thanks for any help you can give.
the following is not a solution to your problem.
It's a diagnostic aid rather.
filename <your_filename> ftp ''
filename <your_filename> clear;
One of the lines returned will say e.g.
211-INACTIVITY TIMER IS SET TO 300
Unfortunately I haven't found a way to override this value (when
doing the transfer from the PC side). In z/OS batch one could try
// EXEC PGM=FTP,PARM='INACTIVE 86400'
// EXEC PGM=FTP
//SYSFTPD DD *
where 86400 is the maximum allowed value in seconds (a value you
would never use!).
So this all centers around the idea of a timeout condition causing
the problem you described. Your 'never completes and ... remains
locked' remark however makes me doubt whether it is in fact a
Next thing I tried was to find where these 300 seconds are
So I did from TSO Option 6 (or most simply from a CMDE window):
ftp localhost or ftp <your_host>
And then checked in SDSF/EJES/whatever what DSnames had been
allocated last to my TSO session. Here I found e.g. SYS1.TCPPARMS
and therein the member FTPDATA. Within this member the line
INACTIVE 300 ; inactive time out
To have this entry changed you'd have to contact your system
Ansys AG, Zurich, Switzerland