Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

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:

Copy
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.

Published:

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:

Copy
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.

For an optimal Community experience, Please view on Desktop