IMS Version 9

/COMPT

Format

Read syntax diagramSkip visual syntax diagram                           .-1----------.
>>-+-/COMPT-+--+-+-CNS--+--+------------+--NODE--nodename--+---->
   '-/COM---'  | +-CRD--+  '-+--------+-'                  |
               | +-PCH--+    '-compt#-'                    |
               | +-PDS--+                                  |
               | +-PRT--+                                  |
               | +-RDR--+                                  |
               | +-TDS--+                                  |
               | +-UDS--+                                  |
               | +-VID--+                                  |
               | +-WPM1-+                                  |
               | +-WPM2-+                                  |
               | '-WPM3-'                                  |
               '-+-1-+--NODE--nodename--+----------------+-'
                 +-2-+                  '-USER--username-'
                 +-3-+
                 '-4-'

   .-READY------.
>--+------------+----------------------------------------------><
   '-+--------+-'
     '-NOTRDY-'

Environments and Keywords

Table 27 lists the environments (DB/DC, DBCTL, and DCCTL) from which the command and keywords can be issued.

Table 27. Valid Environments for the /COMPT Command and Keywords
Command / Keywords DB/DC DBCTL DCCTL
/COMPT X X
CNS X X
CRD X X
NODE X X
NOTRDY X X
PCH X X
PDS X X
PRT X X
RDR X X
READY X X
TDS X X
UDS X X
USER X X
VID X X
WPM1 X X
WPM2 X X
WPM3 X X

Usage

/COMPT sets a particular terminal component to a ready/not ready state. Output messages queued for a particular component will not be sent unless the component is ready. Depending on terminal type and the availability of messages queued for other components, output operations for other components can continue.

The ready/not ready state set by the /COMPT command can be altered by the following:

/COMPT can only refer to a VTAM-attached terminal component.

Restriction: When the /COMPT command contains the keyword CRD, it cannot also contain any of the following keywords: WPM1, WPM2, or WPM3.

The command format takes two forms. That is, a component can be referenced by using a keyword, such as VID, or by using a number, such as 2.

When a keyword is used, a search is made of the components (as defined in the TERMINAL macro during IMS system definition) for the component type defined that corresponds to the specified keyword.

When a match is found, that component is made ready/not ready as specified by the command. If a number other than 1 follows the keyword, the corresponding occurrence of that component type is made ready/not ready.

/COMPT supports up to 4 components. When a number from 1 through 4 is used instead of a keyword, the component affected is the one defined in that position during system definition, independent of component type. The USER keyword is required when nodename is an ISC node with users.

For more information about component support, see /ASSIGN

Examples

Example 1 for /COMPT Command

Entry ET:

  /COMPT 4 NODE ABC READY

Response ET:

  DFS058I  COMPT COMMAND COMPLETED

Explanation: The fourth component defined in the TERMINAL macro on node ABC is made ready to IMS.

Example 2 for /COMPT Command

Entry ET:

  /COMPT VID 2 NODE ABC READY

Response ET:

  DFS058I  COMPT COMMAND COMPLETED

Explanation: The second display component on node ABC is declared operable to IMS.

Go to the previous page Go to the next page

IBM Confidential

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright: IBM Corporation 1974, 2004 Copyright IBM Corporation 1974, 2004  timestamp Last updated: March, 2004