Date: Mon, 5 Oct 2009 11:22:18 -0700
Reply-To: sasdummies <khanatusc@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sasdummies <khanatusc@GMAIL.COM>
Organization: http://groups.google.com
Subject: File specification and "file" statement"
Content-Type: text/plain; charset=ISO-8859-1
On Sun Sololaris, with sas 9.1.3, I want to save the content of
dataset to a text file. Any idea why this does not work.?
data null;
set test3;
file "/export/samfs-bcf/rcf-12/mkhan//
Create_account_&uscid..&rundate..txt";
put col1;
run;
Getting follwing error messages:
23
ERROR 23-2: Invalid option name /.
The SAS
System
79 + file "/export/samfs-bcf/rcf-12/mkhan//
Create_account_&uscid..&rundate..txt";
------
23
ERROR 23-2: Invalid option name EXPORT.
79 + file "/export/samfs-bcf/rcf-12/mkhan//
Create_account_&uscid..&rundate..txt";
-----
23
ERROR 23-2: Invalid option name SAMFS.
79 + file "/export/samfs-bcf/rcf-12/mkhan//
Create_account_&uscid..&rundate..txt";
---
23
ERROR 23-2: Invalid option name BCF.
79 + file "/export/samfs-bcf/rcf-12/mkhan//
Create_account_&uscid..&rundate..txt";
---
23
I tried this too:
data null;
set test3;
put col1;
run;
/export/samfs-bcf/rcf-12/mkhan/sasintrnt/sasprog