Skip to main content

IBM Systems  >   z Systems  >   z/VM  >  

Description of CMDTABLE

Download count: 14 this month, 4038 altogether.

Downloads for CMDTABLE:
VMARC archive: v-3K

The CMDTABLE EXEC creates separate output files that list all of the CP commands and diagnoses available on your system with their currently defined privilege class.

CMDTABLE is implemented using CMS Pipelines with the CP commands COMMANDS and LOCATE CMDBLK. It uses SET PRIVCLASS * * to enable it to examine all CP commands.

An example of a portion of the output file for commands is:

NOTREADY                          IBMCLASS=G  PRIVCLASS=G
ORDER                             IBMCLASS=D  PRIVCLASS=D
ORDER                             IBMCLASS=G  PRIVCLASS=G
PURGE                             IBMCLASS=A  PRIVCLASS=A
PURGE                             IBMCLASS=B  PRIVCLASS=B
PURGE                             IBMCLASS=C  PRIVCLASS=C
PURGE                             IBMCLASS=D  PRIVCLASS=D
PURGE                             IBMCLASS=E  PRIVCLASS=E
PURGE                             IBMCLASS=G  PRIVCLASS=G
QUERY         SUBCMD ABEND        IBMCLASS=B  PRIVCLASS=B
QUERY         SUBCMD ACCOUNT      IBMCLASS=G  PRIVCLASS=G
QUERY         SUBCMD ALL          IBMCLASS=B  PRIVCLASS=B
QUERY         SUBCMD ALLOC        IBMCLASS=D  PRIVCLASS=D
QUERY         SUBCMD BYUSER       IBMCLASS=E  PRIVCLASS=E
QUERY         SUBCMD BYUSER       IBMCLASS=0  PRIVCLASS=<ANY>
QUERY         SUBCMD CACHE        IBMCLASS=B  PRIVCLASS=B
The diagnose output looks like:
   0 PRIVCLASS=<ANY>
   4 PRIVCLASS=CE
   8 PRIVCLASS=<ANY>
   C PRIVCLASS=<ANY>
  10 PRIVCLASS=<ANY>
  14 PRIVCLASS=<ANY>
  18 PRIVCLASS=<ANY>
  20 PRIVCLASS=<ANY>
  24 PRIVCLASS=<ANY>
  28 PRIVCLASS=<ANY>
  34 PRIVCLASS=CE
  3C PRIVCLASS=ABC
  40 PRIVCLASS=<ANY>

Feedback: Bruce Hayden IBM Global Services, World Wide VM Platform