[S] importing SAS datasets

atakan yalcin (yalcina@bc.edu)
Sun, 08 Nov 1998 15:32:32 -0500


Hi all,

I am trying to import a SAS dataset into S+. We're running S+ Version
3.4 Release 1 for Sun SPARC. I used the following SAS program to create

a dataset using Xport engine:

OPTIONS PS=30700 NOCENTER NONUMBER;

LIBNAME ATA 'TEMP:[SCRATCH.YALCINA]';

LIBNAME TRAN XPORT 'TRAN1.SSD';

PROC DATASETS;
COPY IN=ATA OUT=TRAN;
SELECT BETAALL;
RUN;

I then tried to use sas.get() in S+ to convert trans1.ssd into an S+
dataset, but I couldn't succeed. Here are some of the S+ commands I
used:

> sas.datasets(lib=unix("echo /home/yalcina/betas/"))
[1] "tran1"

> test<-sas.get(lib=unix("echo /home/yalcina/betas/"),mem="tran1")
sh: sas: not found
_temp_.log: No such file or directory
Error in sas.get(lib = unix("echo /home/yalcina/be..: SAS job failed
with status
256
Dumped

I'll apprecaite any help that you can give me.
Thanks in advance,

Atakan Yalcin

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news