Previous Topic: Start REXX Programs from OCS

Next Topic: Issue System Commands from Your Console


Monitor and Control in a Restricted Environment

The Network Partitioning Facility (NPF) is used to limit the range of resources that you receive messages from and can control.

Your user ID can be defined so that commands and messages can be accepted for some network resources, but you are not authorized to issue commands for others.

If you are restricted in your ability to control only particular resources, your user ID is said to be command partitioned. If you are restricted to receiving messages from only specific resources, your user ID is said to be message partitioned.

The resources available to you are defined within a series of NPF resource tables that reside on the system NPF data set. The set of resources you can influence is set by your systems administrator and cannot be changed from the OCS window. However, you can list the NPF tables for your user ID or list the resources within each table to see which network resources are available to you.

Display Network Partition Tables

Two commands allow you to display the command and message table details that apply to your user ID. They are the SHOW NP and SHOW NPTAB commands.

The SHOW NP command first displays your current NPF environment, including the status of any message tables. Tables that apply to commands only cannot have their status changed and are always classified as ACTIVE. Message tables can have a status of ACTIVE or INACTIVE.

The SHOW NP command returns a list of table names (showing any that are in error) which you then use in the SHOW NPTAB command to display the resources defined within those tables.

Note: Resources named in a table can be specified using a generic form containing wildcard characters. The wildcard character, usually an asterisk (*), lets your system accept any character for that position in the name for the item. For example, L5*8, targets any resource name that is four characters long and starts with the characters L5, and ends with an 8. Any character in the third position is accepted (for example L5B8 or L598).

Enter Commands in a Restricted Environment

If your user ID has a command table specified, any attempt you make to issue a VTAM command for a resource not defined in this table is rejected. As an option, your organization might let you see any resource in the network, but restrict the issuing of commands.

Receive Messages in a Restricted Environment

Where message partitioning has been specified for your user ID, you only receive unsolicited VTAM messages for those resources defined within your message resource tables.

Message tables are allocated an initial status of ACTIVE or INACTIVE when they are defined. An INACTIVE message table is not used when determining whether you should receive messages about a particular resource. This lets operators have overlapping spheres of control and allows for time zones or geographical boundary requirements in a network.

Change the Status of Message Tables

You can change the status of your message resource tables so that you can control the sections of the network about which you want to be kept informed.

Changes to the status of message tables apply immediately to all OCS windows where you are operating, and continue to apply if you exit from OCS. Once you log off, they reset to their previous status for when you log on again.

To change the status of message resource tables, use the NPTAB command.

Example: Change the Status of Message Tables

To inactivate the message table ZONE1 and activate the message table ZONE2, enter the following command:

NPTAB ACT=ZONE1 INACT=ZONE2

Change the Severity Level of Messages You Receive

NPF allows you to change the severity level of the unsolicited messages you receive, so that you see only SEVERE messages, for example. A severity selection is first set when your user ID is defined and can be changed for the duration of an OCS session, by using the PROFILE PPO command.

As an option, you can be profiled to receive undeliverable messages, which are displayed on your terminal prefixed by U.

Detect Errors in Your Restricted OCS Environment

Your NPF environment can contain syntax errors, or errors can occur when the environment is created during logon.

This situation causes one or more error messages to be displayed identifying the types of error that have occurred when you enter OCS. You must then determine if these errors significantly affect your use of the region.

Use a Restricted Monitoring Environment with the Remote Operator Facility

If you use Remote Operator Facility (ROF) to connect to a remote region, then the authority and privileges assigned to your user ID for the remote region apply, including any network partitioning defined for your user ID in the remote region.

To display your NPF environment in the remote region, use the ROUTE command to direct the SHOW NP command to the remote region for execution.

The results are returned to your terminal.