Charlie,

I'm not quite sure you could do that from within a macro.

It is something that you could do performing a table walk against 2 tables.  
The results of the first table could be used to set fields that would be used 
in the query for the second table walk.  The final results could be appended to 
a large character field during the table walk..

Finally the results could be sent by the email engine.

I'm looking at doing something similar.  I should be able to append the data in 
a manner that would result in a nice html table sent by email.

 

Dave
--------------------------
[EMAIL PROTECTED] (Wireless)

----- Original Message -----
From: Action Request System discussion list(ARSList) <[email protected]>
To: [email protected] <[email protected]>
Sent: Fri Mar 30 16:12:45 2007
Subject: Re: Nested Macros (UNCLASSIFIED)

Classification:  UNCLASSIFIED 
Caveats: NONE

Great, thanks Dave!

What I was looking at doing was calling macro A while recording macro B
and using the data retrieved by A for processing in B (primarily for
reporting).  Sorry if that's not terribly clear (I'm still a newbie when
it comes to Remedy). 

But, the bottom line looks like it's not advisable, so I'll look for a
better, more efficient way of doing things.  

Thanks All!! 



Charlie Bennett
Web Engineer
Joint National Integration Center (JNIC)
Schriever Air Force Base 
Colorado Springs, Colorado 80912
(719) 721-7470
Fax (719) 721-8090

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

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"

Classification:  UNCLASSIFIED 
Caveats: NONE

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

Reply via email to