|
Karsten -
You can use SAS to do a binary transfer and then use SAS to open the CPORT
library. You could probably do it in one step in SAS. Is your question
about doing a binary ftp in SAS?
reagrds
Paul Choate
DDS Data Extraction
(916) 654-2160
-----Original Message-----
From: Chandu [mailto:mailrajuv@YAHOO.COM]
Sent: Tuesday, March 02, 2004 2:58 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Copy Zip file in Lan to Unix
"Karsten M. Self" <kmself@ix.netcom.com> wrote in message
news:<q751c.15719$yZ1.7200@newsread2.news.pas.earthlink.net>...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday 02 March 2004 11:01 am, Chandu wrote:
>
> > Hi Group,
> > I have a .gz file on a Lan server.I need to copy this to
> > unix and need to unzip and then use proc cimport to make it a dataset
> > again.
> >
> > I am creating a fileref
> > filename dmart ftp 'xy.gz' cd='mydir'
> > user='me'
> > pass='mypass'
> > rcmd='binary'
> > host='lan--server';
> > run;
> >
> > But I need to first copy this to the sas unix box before I unzip it
> > and use cimport on the file.
> >
> > Can anybody suggest me a way to just copy this file to Unix box.I can
> > handle the rest.
>
> Depends on your connection to the Unix box. Generally, your options
> are:
>
> - Copy the file across a shared filesystem such as Samba, NFS, etc.
> You'd just copy it like an other file.
>
> - Use a network file transfer protocol. There are many: scp, rsync,
> ftp, http (where supported). Inquire with your local system
> administrator as to what's supported. Most of these will require
> you authenticate with your userid and password.
>
>
>
> Peace.
>
> - --
> Karsten M. Self <kmself@ix.netcom.com>
http://kmself.home.netcom.com/
> What Part of "Gestalt" don't you understand?
> Look before you leap.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFARN5IefG8443k044RAqqqAJ9V92p6acs0wi4/kFLxesYe6LH8KACeK7WP
> dLcRylGnfF5Jwo5XNA1+ySQ=
> =Cbp2
> -----END PGP SIGNATURE-----
Kirsten,
I want to do this using SAS.I know how to do this using FTP.
thanks for your help.
|