Charlie,

I agree that with Carey that it's not a good idea.  I have a few folks
here that have created nested or linked macros.  One of the guys called
the "Groovy" macro that executes 5 other macros.  I think he may have
simply started recording a macro and then opened up 5 macros, one right
after the other. To tell the truth not quite sure how he did it.  Anyway
each macro displays data and generates a report file.  So in essence
this one macro is executing 10 different searches (granted 5 should be
in table memory as it's always display data and it's writing data to a
report).  Of course they are not the most efficient queries and when it
times out I get a call.  I will look at the individual macros but not
the "Groovy" macro.  Individually, each runs ok but together it will
often time out.

Stay away.

Dave

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Friday, March 30, 2007 2:59 PM
To: [email protected]
Subject: Re: Nested Macros (UNCLASSIFIED)

Charlie,

Is it advisable to use macros? ... not in my opinion.

But to try to answer your questions more directly...

You can edit macros and append content from other macros if you use an
editor that will not muck with special characters. ( VI, VIM, or if
you have to Emacs should be good choices. I have no idea how well
Notepad, or Word pad might work/fail in that task.) However that is
strictly speaking not "nesting" (as in referencing another macro from
inside the first macro) in my book. And I do not know of a way to
reference/call another macro from inside a macro.

HTH.

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.


On 3/30/07, Bennett, Charlie CTR MDA/IC <[EMAIL PROTECTED]>
wrote:
> Classification:  UNCLASSIFIED
> Caveats: NONE
>
> Is it possible (or even advisable) to nest macros within another
macro?  If
> so, how does one go about it?
>
>
> Charlie Bennett
> Web Engineer
> Joint National Integration Center (JNIC)
> Schriever Air Force Base
> Colorado Springs, Colorado 80912
> (719) 721-7470
> Fax (719) 721-8090

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to