8.5 $ZAPCMD (Enable or disable system parameters and console
commands)

8.5.1 Function

The $ZAPCMD console command allows it to enable or disable a given command name as a system pa-
rameter (configuration statement) or console command.

This is a console command used for debugging and requires that the debug command level has been set.
This is the default for debug builds, but not for normal production builds.

To activate the $ZAPCMD console command for normal non-debug production release builds, use the
following command sequence:

MSGLVL VERBOSE (optional)

MSGLVL DEBUG (optional)

CMDLVL DEBUG (required)

$ZAPCMD cmdname option


Note: It is possible to disable the $ZAPCMD console command itself, so be careful!

8.5.2 Syntax

Descriptive

Diagram

Êʬ¬¬ ¬¬¬ cmdname ¬¬¬§¬¬¬ ¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ





¬¬¬«





¬¬¬¬¬«





8.5.3 Parameter

cmdname

Specifies the command name of the system parameter (configuration statement) or
the console command that has to be enabled or disabled.

CFG

Enable the given command name as a system parameter (configuration statement).

NOCFG

Disable the given command name as a system parameter (configuration state-
ment).

CMD

Enable the given command name as a console command.

NOCMD

Disable the given command name as a console command.

8.5.4 Examples

Example 1:

Disable ARCHLVL as a console command.

HHC00013I Herc command: 'archlvl s/370'

HHC01603I $zapcmd archlvl nocmd

HHC01603I archlvl s/370

HHC01600E Unknown command archlvl, enter 'help' for a list of valid commands

Figure 14: $ZAPCMD command (disable console command)

Previous Page Next Page