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
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
|