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?
DDS Data Extraction
From: Chandu [mailto:mailrajuv@YAHOO.COM]
Sent: Tuesday, March 02, 2004 2:58 PM
Subject: Re: Copy Zip file in Lan to Unix
"Karsten M. Self" <firstname.lastname@example.org> wrote in message
> -----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
> - 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.
> - --
> Karsten M. Self <email@example.com>
> What Part of "Gestalt" don't you understand?
> Look before you leap.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> -----END PGP SIGNATURE-----
I want to do this using SAS.I know how to do this using FTP.
thanks for your help.