Date: Tue, 9 Dec 2003 17:38:45 +0100
Reply-To: "Karlsen, Terje" <terje.karlsen@SSB.NO>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Karlsen, Terje" <terje.karlsen@SSB.NO>
Subject: SV: SAS program as Telnet Client (newbie)
Content-Type: text/plain; charset="iso-8859-1"
> -----Opprinnelig melding-----
> Fra: Carl Kyonka [mailto:Carl.Kyonka@ENBRIDGE.COM]
> Sendt: 9. desember 2003 16:12
> Til: SAS-L@LISTSERV.UGA.EDU
> Emne: SAS program as Telnet Client (newbie)
> I want to run a few UNIX commands under control of a SAS
> program and FTP
> the result to my Windows system. The UNIX systems do not have SAS
> I have SAS/Windows with SAS/Connect, but not SAS/Share.
> I have looked in on-line Doc, but most of it seems aimed at SAS to SAS
> Could someone point me at the right doc?
> Carl Kyonka
You can use the SAS command
X 'unix command here';
when you run the SAS-program from Unix.
But I would rather use a Unix shell script to control
the SAS-program and issue file transfers etc.
If you have ftp installed on your unix machine
you can probably set up a ftp-script to run ftp batch
from the unix script.
Did that make any sense?
Terje Karlsen, Statistical Adviser
Division for National Accounts, Statistics Norway
Tlf: +47 21 09 44 56