Date: Wed, 11 Apr 2007 06:41:25 -0700
Reply-To: sbarry@SBBWORKS.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Barry <sbarry@SBBWORKS.COM>
Organization: http://groups.google.com
Subject: Re: Filename FTP timeing-out on Z/OS tapemount?
In-Reply-To: <JHEEIGIGFPGACEGDPJMGMEOGJCAA.bardos2@ansys.ch>
Content-Type: text/plain; charset="iso-8859-1"
On Apr 11, 5:35 am, bard...@ANSYS.CH (Robert Bardos) wrote:
> 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
Investigate the FTP commands SITE/LOCSITE and STAT/LOCSTAT for
identifying a connection-related settings that you may be able to
change in a z/OS FTP session (override FTP.DATA default settings).
Scott Barry
SBBWorks, Inc.
|