Creating Procedure Documents
To perform tasks in Longview Application Framework, you can use a Procedure document.
A Procedure document defines processes in Longview Application Framework. This document is stored as an ASCII file and can be edited in any text editor. It contains a sequence of commands to perform activities, and comments. Those commands are described in Using Procedure Commands.
A Procedure document can also be used to call other Procedure documents.
One script can be run from within another script by means of issuing a RUN PROCEDURE command, using the following syntax:
RUN PROCEDURE proc
where:
- proc is the name of the script to be run.
Note: To add a comment to syntax, insert two forward slashes ( // ) at the beginning of the comment.
Caution: Variables to be used in a procedure triggered by a server event rule are defined by the event rule itself. Therefore, you do not need to create them or define them in the Procedure document. For more information, see the Longview Application Administrator Guide.