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 (June 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 9 Jun 2004 15:36:08 -0500
Reply-To:     "Dunn, Toby" <tdunn@TEA.STATE.TX.US>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Dunn, Toby" <tdunn@TEA.STATE.TX.US>
Subject:      Re: HELP WITH SYNTAX?
Comments: To: "Kevin F. Spratt" <kevin-spratt@UIOWA.EDU>
Content-Type: text/plain; charset="us-ascii"

Kevin try the following:

%LET DRV =W:; %LET PRJ1=\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T3 CREATE PVAL; %LET PRJ2=\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T4 PVAL STRING; %LET PRJ3=\TECHNICAL GROUP\NORMS\Y2003;

LIBNAME SAVE "&DRV&PRJ2\DAT";

HTH Toby Dunn

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Kevin F. Spratt Sent: Wednesday, June 09, 2004 3:30 PM To: SAS-L@LISTSERV.UGA.EDU Subject: HELP WITH SYNTAX?

The following log demonstrates that my approach to assigning drive and file locations is not working. Note that the

LIBNAME SAVE1 line demonstrates that the location I am attempting to point to is there.

Any help with how to correctly create and implement these macro variables?

Note: I have tried these statements with both single (') and double (") quotes

5794 %LET DRV ='W:'; 5795 %LET PRJ1='\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T3 CREATE PVAL'; 5796 %LET PRJ2='\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T4 PVAL STRING'; 5797 %LET PRJ3='\TECHNICAL GROUP\NORMS\Y2003'; 5798 5799 RUN;

WARNING: RUN statement ignored due to previous errors. Submit QUIT; to terminate the procedure. 5800 5801 LIBNAME SAVE1 'W:\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T4 PVAL STRING\DAT';

NOTE: Libref SAVE1 was successfully assigned as follows: Engine: V9 Physical Name: W:\TECHNICAL GROUP\NORMS\Y2003\IOWA\COMPLETE\T4 PVAL STRING\DAT 5802 5803 LIBNAME SAVE '&DRV. &PRJ2. \DAT'; NOTE: Library SAVE does not exist. 5804

______________________________________________________________________

__________________ Kevin F. Spratt, Ph.D. | | Iowa Testing Programs (ITP) ( ) University of Iowa Back Care (UIBC) \ \ _ University Iowa Spine Research Center (ISRC) \ * \ of Iowa 224-D Lindquist Center \ / Hawkeyes The University of Iowa |_________________ ) Iowa City, Iowa 52242 V (319) 335-5572 (voice-Lindquist) (319) 335-9921 (voice-Westlawn) (319) 335-6399 (fax) (319 530-8254 (cell & Voice mail) Kevin-Spratt@Uiowa.edu (e-mail) _______________________________________________________________________


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