Previous Topic: Use the SSM Control Panel

Next Topic: Output from SSMDISP

SSMDISP Command—Display Resource Status

The SSMDISP sample OPS/REXX program located in your opsmvshlq.SAMPLE.REXX library, displays the status of SSM resources using a multi-line WTO. To utilize this sample program, copy it into your opsmvshlq.USER.REXX library, or a valid user REXX library that is allocated to your OPSMAIN, and OPSOSF procedures.

You can filter the resources you wish to display by mode or whether the current state is equal to the desired state. Also, you can direct the output of the program to a specific console or areaid. If you use the SSMDISP program in conjunction with the SSMDISPC command rule, an OSF server is not required to run SSMDISP. You can call SSMDISP as a subroutine from any OPS/REXX program.

This command has the following syntax:

SSMDISP
  [EXC|ALL]
  [MODE(ssmmode)]
  [CNNAME(console name)]
  [AREAID(display area)]

The keywords of the SSMDISP command have these values:

EXC|ALL

(Optional) One of the following:

MODE(ssmmode)

(Optional) Displays only the SSM resources whose mode matches the specified mode. Valid values are ACTIVE, INACTIVE, PASSIVE, and NOPREREQ. The default is to not filter by mode.

CNNAME(console name)

(Optional) Specifies the name of the z/OS console to which the multi-line output is directed. The default is MSTRINFO routing with no specific console.

AREAID(display area)

(Optional) Specifies the z/OS console display area in which the multi-line output appears if the output is directed to a console through CNNAME or CNID. The default is Z.