Date: Wed, 24 May 2000 20:30:33 +1200
Reply-To: Don Stanley <don_stanley@XTRA.CO.NZ>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Stanley <don_stanley@XTRA.CO.NZ>
Subject: Re: Question on 3270 file transfers
Content-Type: text/plain; charset=us-ascii
Not necessarily so.
If Denis wants to read a mainframe non SAS file which I gather is his
need, then he can run his program on the PC and use the FTP file access
method to read the data. Here is a simple example:
filename mffile FTP '/is413.d30920.formats' host=<host IP address>
user=<userid> pass=<password> ;
data test ;
infile mffile ;
input ;
put _infile_ ;
run ;
This simplistic example will (assuming I got the filename parameters
correct -- see V8 online help or manual 6.11 Changes and Enhancements)
read the file from the mainframe without sending it to the PC first.
Naturally the input ; put _infile_ ; code will be replaced with real
code to read the file.
The only pre-requisites are a mainframe logon and connectivity between
your PC and the mainframe. To find the IP address, check your PC
HOST.dat file. I think that is the correct filename, I'm not at work so
can't check.
Don
"James E. Strouse" wrote:
> Yes, you need SAS/CONNECT Software though.
>
> James E. Strouse
>
> Denis Marchand wrote:
>
> > Hi all,
> >
> > I'm running SAS V8 on WinNT. I'm connected through Novell to A
> > IBM mainframe 3270 (emulation). Is there a way of executing a
> > SAS program on the PC and connect to and reading in a
> > mainframe file? Has anyone done this?
> > I would appreciate any comments
> >
> > thanks
> >
> > Denis
--
Don Stanley, B.SC, Dip O.R.S, MNZCS Director, Sysware Consulting
Group
Box 634, Wellington, NEW ZEALAND
http://www.sysware.co.nz
EMAIL:: don_stanley@xtra.co.nz
http://www.geocities.com/don_stanley_nz/don_home.htm
Genealogy:: http://www.geocities.com/don_stanley_nz/family.htm