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 16:38:36 -0400
Reply-To:   "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Subject:   Re: HELP WITH SYNTAX?
Comments:   cc: "Kevin F. Spratt" <kevin-spratt@UIOWA.EDU>
Content-Type:   text/plain; charset="US-ASCII"

you do not need spaces between macro variable when concatenating

replace this: > 5803 LIBNAME SAVE '&DRV. &PRJ2. \DAT'; with this: > 5803 LIBNAME SAVE '&DRV.&PRJ2.\DAT';

Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov

remember perspective: the error is not always where it seems to occur! -- RJF2

> -----Original Message----- > From: Kevin F. Spratt [mailto:kevin-spratt@UIOWA.EDU] > Sent: Wednesday, June 09, 2004 4: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