Previous Topic: Starting Scripts From REXX Programs

Next Topic: Starting Scripts From Menus


Starting Scripts From Rules

Start a script from a rule by specifying the SCRIPT rule keyword, as shown:

SCRIPT(filename)

or

SCRIPT((filename) SESSION(sessid))

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

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

For details, see the description of the SCRIPT keyword in the Command and Keyword Reference Guide.