Date: Mon, 28 Aug 2006 15:40:33 -0400
Reply-To: "Fehd, Ronald J. (CDC/CCHIS/NCHM)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (CDC/CCHIS/NCHM)" <rjf2@CDC.GOV>
Subject: Re: How to end the program
Content-Type: text/plain; charset="us-ascii"
> From: yom
> Thank you very much for your help !
> In fact, I have a principal macro "myPrincipalMacro" which
> call others. In this macro, I call before a particular macro
> "checkMacrovariables" which allow to say if my macrovariables are ok.
> If my macrovariables are not ok, I want to specify why they
> are not conform and I want to terminate the macro.
Yom, you are definitely in the running for Rookie of the Year!
Your CheckMacroVariables must return some hopefully boolean variable
to its calling parent: MyPrincipleMacro
%CheckMacroVariables;%*returns mvar Ok;
%If not &Ok. %then %goto %Exit;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov