Date: Fri, 4 Jul 2008 18:02:49 -0500
Reply-To: paul@WUBIOS.WUSTL.EDU
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Thompson <paul@WUBIOS.WUSTL.EDU>
Subject: Re: do-while and proc iml
In-Reply-To: <02b901c8de23$739dc440$0201a8c0@Aragorn>
Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed"
Quoting Daniel Nordlund <djnordlund@VERIZON.NET>:
If you are interested, I can send you a copy of my macro _contrgen.
It generates contrast statements for GLM, MIXED and GENMOD. I make
extensive use of the macro features of IML, and could not do the
things that I do in that macro without IML. Things like running a
macro do-loop with bounds set in the statement immediately before it,
and other stuff that just looks odd if you are used to standard SAS
macro stuff.
>> -----Original Message-----
>> From: paul@wubios.wustl.edu [mailto:paul@wubios.wustl.edu]
>> Sent: Friday, July 04, 2008 11:44 AM
>> To: Daniel Nordlund
>> Cc: SAS-L@LISTSERV.UGA.EDU
>> Subject: Re: do-while and proc iml
>>
>> Quoting Daniel Nordlund <djnordlund@VERIZON.NET>:
>>
>> Although I don't usually say this, I must disagree with Dan. Macro
>> code in IML is executed immediately. Each statement in IML is
>> executed as it is encountered, and in this way, macro code in IML
>> behaves differently than in other areas of SAS. You can do what is
>> being requested, although some of the details of his attempts are
>> incorrect.
>>
>>
>>
> I have learned something new today. I stand corrected.
>
> Dan
>
> Daniel Nordlund
> Bothell, WA USA
>
|