Date: Wed, 5 Apr 2000 08:22:01 +0200
Reply-To: "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Becker, Eckhard [IAW-04]" <EBecker@VHV.DE>
Subject: Re: SAS Macro problem on MVS OS/390
Content-Type: text/plain; charset="iso-8859-1"
Hi Blood, eh Chris,
what's in your macros %thismacro and %thatmacro? Is it just
datastep-statements?
Remember that macro is just text-replacement, so there is no difference
doing the job the way you try or pasting the code of the two macros directly
in your code.
Can it be that you have a complete data- or proc-step in your macro?
Eckhard
-----Original Message-----
From: Blood Monger [mailto:bmonger@HOME.NET]
Sent: Wednesday, April 05, 2000 3:37 AM
To: SAS-L@AKH-WIEN.AC.AT
Subject: SAS Macro problem on MVS OS/390
%macro whatever;
set dataset;
if thisvariable = thisvalue then do;
%thismacro
<more stuff>
end;
else %thatmacro
%mend whatever;
Basically my problem is I keep getting unclosed do blocks because it
jumps to another macro. Is there a way around this?
|