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 (January 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Jan 2002 08:24:42 -0500
Reply-To:     Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Subject:      Re: Macro Problem
Comments: To: apitruzzello@CPS.K12.IL.US

Dear Tony,

At first glance, I am suspecting some missing semicolons as being your problem.

101 DATA F5; SET F4; &UNITC &SUBJC %KEYY1 NOTE: Line generated by the macro variable "UNITC". 101 PUT(UNIT,4.) _ _ _ 22 22 22 76 76 76

I think the resolved code would be something like this - DATA F5; SET F4; PUT(UNIT,4.) PUT(SUBJ,4.) LENGTH KEY1 $8; KEY1=0123||5678;

(whatever unit and subj resolve to is an example). As you can see, I think a semicolon is missing in at least two places.

Try this statement instead - DATA F5; SET F4; &UNITC ; &SUBJC ; %KEYY1 ;

HTH, Charles Patridge Email: Charles_S_Patridge@prodigy.net


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