Previous Topic

Next Topic

Book Contents

Book Index

DO SHELL: Automated Console Action Parameter

Specifies a z/OS shell script or REXX program to run under z/OS UNIX.

Figure 164a DO SHELL Parameter Format

---------------------------------------------------------------------------------

DESCRIPTION

===========================================================================

DO SHELL    =                                                

   WAITMODE                                         TIMEOUT         STOP

   SHARELOC                                         IMMEDIATE            

DO                                                                        

---------------------------------------------------------------------------------

Optional. Type SHELL in the DO field and press Enter. The subparameters described in Table 136a are displayed.

Table 136a DO SHELL Subparameters

Subparameter

Description

script/program

Shell script name or REXX program name. Mandatory.

WAITMODE

Whether to wait for completion of the script or program. Mandatory. Valid values are:

  • Y (Yes) — Wait for completion of the shell script or REXX program.
  • N (No) — Do not wait for completion of the shell script or REXX program.

TIMEOUT

n — Number of seconds (maximum 9999) to wait for the completion of the shell script or REXX program. Valid only if STOP is Y.
Optional. Default: 60 seconds.

STOP

Whether the shell script or REXX program should be stopped when time-out is reached. Valid values are:

  • Y (Yes) — Stop execution of the shell script or REXX program when time-out is reached. Default.
  • N (No) — Allow execution of the shell script or REXX program to continue after time-out.

SHARELOC

Whether local variables are shared.

Valid values are:

  • Y (Yes) — Local variables can be shared with the script by using XAM.
  • N (No) — Local variables are not shared. Default.

IMMEDIATE

Whether the shell script or REXX program should be executed by an Immediate server. Server types are described in "Server Types" in General Information. Optional.

Valid values are:

  • Y (Yes) — Execute the shell script or REXX program in an Immediate server.
  • N (No) — Queue the shell script or REXX program to a General server for execution. Default.

Parent Topic

Rule Parameters