CL Programming
Command definition allows system users to create additional
commands to meet specific application needs. These commands are similar
to the system commands.
Each command on the system has a command definition object and a command
processing program (CPP). The command definition object defines the
command, including:
- The command name
- The CPP
- The parameters and values that are valid for the command
- Validity checking information the system can use to validate the command
when it is entered
- Prompt text to be displayed if a prompt is requested for the
command.
- Online help information
The CPP is the program called when the command is
entered. Because the system performs validity checking when the command
is entered, the CPP does not always have to check the parameters passed to
it.
The command definition functions can be used to:
- Create unique commands needed by system users while keeping a consistent
interface for CL command users.
- Define alternative versions of CL commands to meet the requirements of
system users. This function might include having different defaults for
parameter values, or simplifying the commands so that some parameters would
not need to be entered. Constant values can be defined for those
parameters. The IBM*-supplied commands should not be changed.
See Defining Commands, for a detailed discussion of command definition.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.