Description of CMDTABLE
2 this month, 5242 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 LOCATE CMDBLK and QUERY DIAGNOSE.
To generate the output files, just enter CMDTABLE on the CMS command line. The user issuing the command must have CP privilege classes C or E.
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=BThe 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>
The previous version of this tool used SET PRIVCLASS * * to enable it to see all CP commands with QUERY COMMANDS. This updated version does not issue SET PRIVCLASS.
Feedback: Bruce Hayden IBM Washington Systems Center