AD (Specify ODT/OCS Screen Parameters)

Keyboard Input Message

Access Level: 7

The AD command controls the automatic display of system status information on an ODT or OCS by adding or deleting parameters.

__AD_______________<command>________________________________________________|
     |__<cc/uu>__|           |__SK <n>___| |             | |              |
                             |__TAB <n>__| |             | |              |
                             |__HDR______| | |<--------| | |   |<-------| |
                             |__PAGE_____| |_|_<table>_|_| |_D_|_<time>_|_|

<cc/uu> is used to designate parameters on other ODT or OCS devices.

<command> indicates on of the following keywords:

Command Meaning
ST Stop Automatic Display
GO Resume Automatic Display
ADD Adds the following table display data to the current table display rules. Replaces any duplicate table entries with the new rules.
DEL Deletes the following table display rules. Only the table name is required. Multiple table names can be deleted. A group of table names enclosed in parenthesis can be deleted provided the number of lines, n, and time, if specified for the group are the same as those items to be deleted.
RPL Replaces the current display rules by the following table display data.
DEF Applies default automatic display rules for the device. The default displays three sets of tables.

The first set of tables lists information about the jobs active in the mix, jobs waiting and the jobs in the schedule.These tables appear on the left side of the first screen of information.
The second set of tables has four tables that list information regarding the status of the disk, pack, tape and printer devices on the system. These tables appear on the right side of the first screen of information.
Finally, the third set of tables lists the latest commands that have been input to the MCP and any system output messages. These tables are on the second screen of information.

The displays are formatted so that the first and second line are blank. The third line displays a heading with the system name, available memory and CPU, date and time. The tables are displayed below that line for ten-second durations. Finally, the PAGE option is set. This allows any excess information that could not fit on the screen to be displayed when the space bar and transmit key are pressed.

The syntax that DEF represents is as follows:
SK 1 HDR PAGE (AM WM S) (DSK DPK MTP PRN) D 10 MSG D 10
DIS Display the current automatic display rules for the device.
Note

If the display has been previously stopped by an AD ST message, subsequent displays of the rules are appended by …STOPPED.

The options following <command> specify table display data and are the same as the System Status Tables options described in V-Series MCP/VS System Software Operations Guide Volume 1: Installation.

SK <n> sets the number of lines down from the header, or from the top of the screen if there is no header, text will be displayed. n can be any number from one to nine. If you do not specify SK, the display starts on line three or after the header line.

TAB <n> denotes the left margin of the table display. n represents a column number and must be a multiple of eight. The maximum value for n is 40. The default value is 24.

HDR displays the following information on line 3: Host Name, Available Memory, Available CPU, Current Date and Current Time.

PAGE allows a display to exceed one screen if there are more lines to display than will fit on one screen.

If PAGE is not specified, all table displays (except responses to operator inquiries) will be truncated to one screen.

If PAGE is specified, pressing the spacebar followed by the transmit key will display the extra information. The message More Data indicates that more information is available.

When two tables are displayed simultaneously, the table on the left can overflow to the right. This can happen whether or not this option is set. Once all the extra information has been displayed, normal table display resumes automatically.

<table> determines which table(s) are to be displayed with action(s) as indicated. If multiple tables are to be displayed together, they must be enclosed in parenthesis. The table display options are defined in the following table. The parameter n indicates the number of lines of information to display. Including values is optional.

Option Meaning
MSG n Displays the most recent commands input to the MCP along with any message the MCP may have issued. No more than 22 commands/responses can be displayed at one time.

If less than 22 lines of text are to be displayed, indicate the number of lines by entering a number following MSG.

Because this table is 80 columns wide, it cannot be displayed simultaneously with any other table.
AM n Displays the task number, processor priority, memory priority and the amount of memory in use for each job active in the mix.
WM n Displays the jobs waiting in the mix. This information includes the processor and memory prioritys and memory usually in use for each job.
MX n Displays the active and waiting mix tables together.
S n Displays information about scheduled jobs. This information includes the processor and memory priorities, memory in use, amount of time in the schedule and after-mix number for each job.
DPK n Displays status of all, or first n packs on the system.
DSK n Displays status of all, or first n disks on the system.
MTP n Displays status of all, or first n magnetic tape drives on the system.
PRN n Displays status of all, or first n printers on the system.

D <time> specifies the time interval in seconds between displays, where <time> can be any value from one through 99. The default value for <time> is 10 seconds. Time intervals less than three to five seconds are not recommended due to excessive system overhead. If entries on a page have conflicting <time> values, the value of the last entry is used.

Details

All but one of the system status tables are 40 columns wide. Because of their size, the screen can be split to display two or more of these tables simultaneously. One or more tables can appear on one side of the screen while one or more tables appear on the other side of the screen. Since the tables displayed by the MSG option are 80 columns wide, they require the entire screen.

When setting up the table displays, it is important to consider the amount of information the system has to display. For an open, readable display, group together the tables that have a limited amount of information. You could also limit the amount of information in that table.

To display more than one table at a time on the same half of the screen, enclose the options for those tables in parenthesis. If the options are not in parenthesis, the status tables are displayed one at a time.

Examples

AD 6/3 RPL HDR (AM WM) (DSK DPK MTP)

Replaces the current automatic display of the system status information for the OCS on channel 6, unit 3 with the following rules. There will be a header on line three. The active and waiting mix talbes will be on one half of the screen, while the disk, pack and tape status tables will appear on the other half.

The following image shows the first page of the AD DEF ruleset.

The following image shows the second page of the AD DEF ruleset.

See Also

ssog2/commands/ad.txt · Last modified: 2009/07/07 07:29 by scott
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki