Previous Topic: How to Start a Script

Next Topic: Starting Scripts From Rules


Starting Scripts From REXX Programs

Start a script from a REXX program by specifying the SCRIPT command, as shown:

"SCRIPT scriptname SESSION(sessname)"

The following example invokes a script, called PAUSE.scr, that restores the MCS console for session S028 for manual use:

"SCRIPT PAUSE.SCR SESSION(S028)"

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