Previous Topic: REXX KeywordNext Topic: SESSCMD Keyword


SCRIPT Keyword

The SCRIPT keyword specifies a CA Automation Point script to be invoked in the session that issued the current message.

This keyword has the following format:

SCRIPT(filename)

or

SCRIPT((filename) SESSION(sessid))
filename

Specifies the name of the CA Automation Point script to be invoked.

SESSION

Specifies the session in which the script is to be invoked. If your SCRIPT value contains the SESSION operand, CA Automation Point directs the script to the indicated session instead. Use the session ID value to identify the session that should invoke the script. This operand cannot be used to specify the name of an internal session (AXC, VOX, or OPS).

Usage Note:

If you use the SCRIPT keyword in a time rule, the SESSION operand is required because time events are not associated with particular sessions.

Example:

The following example starts the MYSCRIPT script when message $HASP308 is issued:

MSGID ($HASP308), SCRIPT(MYSCRIPT.SCR)