Previous Topic

Next Topic

Book Contents

Book Index

Shortcuts for the COSCMD Command

A number of shortcuts for the COSCMD command are supplied with Control-O/COSMOS. Each of these shortcuts triggers a rule that invokes the COSCMD command with specific parameters.

Note: Shortcuts for the COSCMD command are initially defined to act only upon the demo databases supplied with Control-O/COSMOS. To ensure that the COSCMD shortcuts act upon the Working Object databases in use at your site, some minor customization of the rules that invoke the shortcuts may be required. The default settings for the COSUP and COSDOWN commands do not affect the demo Object database created using the SYSIMAGE facility (COSIMGSD). This setting helps prevent accidentally setting actual resources in your production environment to UP while you are working with demo databases

COSUP — Start Up All Control-O/COSMOS-Controlled Objects

Note: As of version 6.1.00, this command uses a predefined prefix in place of the original "COS" prefix. For more information about these prefixes, see Supporting Multiple Control-O/COSMOS Instances.

This command sets the desired status of all objects that are controlled by Control-O/COSMOS to UP, and their mode to FREE. The next time Control-O/COSMOS scans the Object databases, it takes steps to ensure that objects not currently up are brought up (if prerequisites are satisfied). This command might typically be used to simulate an IPL or to test Control-O/COSMOS operations.

The COSUP command invokes the COSUP rule, which issues the following command:

COSCMD DESIUP ALL

COSDOWN — Shut Down All Control-O/COSMOS-Controlled Objects

Note: As of version 6.1.00, this command uses a predefined prefix in place of the original "COS" prefix. For more information about these prefixes, see Supporting Multiple Control-O/COSMOS Instances.

Use this command to shut down all objects that are controlled by Control-O/COSMOS in a system. This command sets the desired status of all Control-O/COSMOS controlled objects to DOWN. The next time Control-O/COSMOS scans the Object databases it notes the change and takes steps to ensure that Control-O/COSMOS-controlled objects are brought down. The COSDOWN command invokes the COSDOWN rule that issues the following command:

COSCMD DESIDOWN ALL

COSOBJ — Display information about an Object Command

Note: As of version 6.1.00, this command uses a predefined prefix in place of the original "COS" prefix. For more information about these prefixes, see Supporting Multiple Control-O/COSMOS Instances.

This command displays information about a specified object. The syntax for this command is:

COSOBJ obname

where obname is the name of the object to be described.

Control-O/COSMOS searches all Working Object databases for the specified object. If more than one object with the specified name is located, all objects with the specified name are described in the output messages.

This command invokes the COSOBJ rule, which issues the following command:

COSCMD DISPALL ALL OBJECT obname

Parent Topic

COSCMD Command