Previous Topic: Activate (Load) a ScheduleNext Topic: CMDSONOFF Primary Command—Distinguish Active and Inactive Links


SHOW STATES Command—View the Scheduled States of Resources

The Schedule Manager allows you to display the scheduled state of all your system resources at a given time and date. To do so, issue the SHOW STATE primary command from the command line.

This command has the following format:

[SHOW] STAT[ES] [AT hhmm ON [mm/dd/yyyy]]]
hhmm

Specifies the time values. Specify this time value in military time (for example, use 1500 for 3:00 p.m.).

mm/dd/yyyy

Specifies the date values.

If you specify no hhmm time or mm/dd/yyyy date values, then the Schedule Manager shows you the scheduled system state at the current date and time. If you specify only a time, then the Schedule Manager shows you the scheduled system state at that time today. If you specify a mm/dd date value without the optional /yyyy year value, then the Schedule Manager shows you the system state at the specified hhmm time on the next occurrence of the specified mm/dd date.

The following examples assume that the current time is 3:00 p.m. on February 21, 2010:

Given the sample schedule PRODUCTION used in Understanding the Links Control Panel in this chapter, the following panel would appear if the command SHOW STATE AT 1400 ON 2/21 was issued:

Schedule Manager ----- State at 1400 on 02/21/2005 (MON) -------- System:OPS44R

Command ===> Scroll ===> CSR | CMDS: F N R + ++ - -- ---------------------------------------------- -------------------------------- - ___ -ACF2_STCTBL - ___ |-STASK WEEKDAY .MTWTF. 0800-1600 - ___ | |-ACF2 - ___ -CICS_STCTBL - ___ |-STASK WEEKDAY .MTWTF. 0800-1600 - ___ | |-CICS WEEKDAY .MTWTF. 0800-1600 - ___ | |-CICSTEST - ___ -DB2_STCTBL - ___ |-STASK - ___ | |-DB2 - ___ -IMS_STCTBL - ___ |-STASK WEEKDAY .MTWTF. 0800-1600 - ___ | |-IMS - ___ -JES2_STCTBL - ___ |-STASK WEEKDAY .MTWTF. 0800-1600 - ___ | |-JES2 - ___ -TSO_STCTBL - ___ |-STASK WEEKDAY .MTWTF. 0800-1600 - ___ | |-TCAS WEEKDAY .MTWTF. 0800-1600 - ___ | |-TCASTEST

The above example shows the State panel that displays the system state information. The title of the panel and the separator between the period and resource columns change to remind you that you are seeing scheduled states of resources instead of period/resource links. The periods no longer are displayed in a tree structure; instead, in each row you see the period that is controlling the resource in that row at the time shown on the title line.

Note: The period column is blank if the resource is not controlled by any period at the given date and time.

When displaying the State panel, you can issue commands only against resources, and you can issue only the commands shown. The +, ++, -, and -- line commands work as they do when you display links. The F and N line commands work as they do when you display links except that:

The R line command, when issued against a resource associated with a period, removes that resource from the period. If no other period is linked to that resource, then the period column becomes blank and the resource display color changes to blue. But, if there is a link for that resource in another period that covers the time displayed on the title line:

The links in the previous sample display would be color-coded-green for active links and red for inactive links. In a black and white environment such as this guide, color-coding is not sufficient to identify the direction of the displayed links.

More information:

The Meaning of Display Colors