LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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"
Comments: To: sas-l@uga.edu
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


Back to: Top of message | Previous page | Main SAS-L page