Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Creating Macro from Another Macro (https://www.kinook.com/Forum/showthread.php?t=4940)

Albin 12-06-2011 03:31 PM

Creating Macro from Another Macro
 
Is there a way I can create a MACRO from another MACRO?

IE

Create a MACRO called HOST
HOST = REDHAT

Now I want to create a macro called REDHAT_COMPLETE based on the %HOST% Macro.

Thanks

kinook 12-06-2011 03:58 PM

1 Attachment(s)
See the attached sample.

Albin 12-07-2011 09:15 AM

Thanks for the response.

Say I don't know what the host is, it's only created during runtime, basically I want to output a the MACRO that contains another Macro.

Example

loop (redhat, suse, solaris)
HOST =
%HOST%_COMPLETE = TRUE
if % %HOST%_COMPLETE %
continue;
check HOST status


All times are GMT -5. The time now is 01:14 AM.


Copyright © 1999-2023 Kinook Software, Inc.