The SHOW-CMD-ATTRIBUTES command informs the operator at the consoles of all commands known at this time. Commands which have the code $, however, are prohibited (entry is rejected).
The set of $ commands also contains commands which do not offer any systems support functions. If some of these commands are to be allowed on consoles, they must be assigned to a different authorization code via the parameter service at system initialization (parameter record OPR, see "Configuration and suppressing the output of messages at consoles (OPR)").
For this purpose, a SET-CMD-CODE statement is required for every command. The authorization (routing) code must be defined by systems support.
Example
The command with the name SHOW-FILE-ATTRIBUTES is to be assigned to the functional area “general tasks” (routing code E). Consoles K1 and K2 are to be allocated “general functions and responsibilities”.
... SET-CMD-CODE AUTHORIZATION-CODE=E,CMD-NAME=SHOW-FILE-ATTRIBUTES SET-CODE CODE=E,CONSOLE=(K1,K2) ...
The manufacturer supplies the following commands with the authorization code $ by default:
ADD-FILE-LINK ADD-MASTER-CATALOG-ENTRY ADD-PASSWORD ADD-USER COPY-FILE CREATE-FILE CREATE-FILE-GENERATION CREATE-FILE-GROUP CREATE-JV CREATE-TAPE-SET DELETE-FILE DELETE-FILE-GENERATION DELETE-FILE-GROUP DELETE-JV DELETE-SYSTEM-FILE DELETE-TAPE-SET EXPORT-FILE EXTEND-TAPE-SET IMPORT-FILE LOCK-USER MODIFY-FILE-ATTRIBUTES MODIFY-FILE-GENERATION-SUPPORT MODIFY-FILE-GROUP-ATTRIBUTES MODIFY-JV-ATTRIBUTES MODIFY-MASTER-CATALOG-ENTRY MODIFY-SPACE-SATURATION-LEVELS MODIFY-USER-ATTRIBUTES MODIFY-USER-PUBSET-ATTRIBUTES PRINT-DOCUMENT REMOVE-JV-LINK REMOVE-MASTER-CATALOG-ENTRY REMOVE-PASSWORD REMOVE-USER SET-JV-LINK SHOW-FILE-TRANSFER SHOW-JV-ATTRIBUTES SHOW-JV-LINK SHOW-SPOOL-CHARACTER-SETS SHOW-SPOOL-DEVICES SHOW-SPOOL-FORMS SHOW-SPOOL-PARAMETERS SHOW-USER-ATTRIBUTES UNLOCK-USER WRITE-SPOOL-TAPE
The SHOW-FILE-ATTRIBUTES
and SHOW-SDF-PARAMETERS
(preset routing code @) and MODIFY-SDF-PARAMETERS
(preset routing code *) commands, on the other hand, are available to the operator by default. They are needed in the event of an emergency to permit the syntax file configuration to be reestablished to such an extent that it is posible to log on again in interactive mode.
If this is not required, the commands can be forbidden by assigning the routing code $.