Date: Wed, 11 Apr 2007 11:35:07 +0200
Reply-To: SAS-L List <sas-l@listserv.uga.edu>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Robert Bardos <bardos2@ANSYS.CH>
Subject: Re: Filename FTP timeing-out on Z/OS tapemount?
In-Reply-To: <e15b88e4c261.461c0a7f@optonline.net>
Content-Type: text/plain; charset="us-ascii"
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.
>
> Dave
>
Dave,
the following is not a solution to your problem.
It's a diagnostic aid rather.
Try
filename <your_filename> ftp ''
host='<your_host>'
prompt
rstat
;
data _null_;
infile <your_filename>;
input;
put _infile_;
run;
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
things like
// EXEC PGM=FTP,PARM='INACTIVE 86400'
or
// EXEC PGM=FTP
//SYSFTPD DD *
INACTTIME 86400
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
timeout problem.
Next thing I tried was to find where these 300 seconds are
defined.
So I did from TSO Option 6 (or most simply from a CMDE window):
ftp localhost or ftp <your_host>
<logged in>
quit
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
programmers.
Robert Bardos
Ansys AG, Zurich, Switzerland