Date: Mon, 8 Jun 2009 04:25:16 -0400
Reply-To: "Nallapeta, Kiran K (GE Money)" <kiran.nallapeta@GE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Nallapeta, Kiran K (GE Money)" <kiran.nallapeta@GE.COM>
Subject: Re: How to transfer non-sas files from unix to windows
In-Reply-To: A<200906071643.n579l1Vu021279@malibu.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
Hi,
With my knowledge, I think xport or cport would only work for datasets
and not for non-sas files.
You could use pull or push method to transfer files from Unix to Windows
environment.
If you want to use push method from Unix, then you could create a shell
file to SFTP files from Unix to Win, and then execute this shell from
your SAS either using system() function or X command.
If you want to use pull method from Win, then create a .exe file /
application and execute the same from SAS, again using either system()
or X command.
Thanks,
Kiran
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Tom
Smith
Sent: Sunday, June 07, 2009 11:14 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: How to transfer non-sas files from unix to windows
I am working on Windows. I want to download some files other than SAS
data
from Unix. Can xport or proc cport hanlde this kind of work?
Or any other method to transfer the files from unix to windows usinig
SAS?
Thanks a lot.
|