Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-2
Command Examples
dependencies are noted where appropriate. For more information about TNS/R related
features, see Section 15, Using Inspect on a TNS/R System.
Command Examples
This section includes examples that show common usage of the high-level Inspect
commands. The examples reflect the output format of the current release of Inspect.
All commands (except the fix commands) have an optional /OUT file-name/ clause
following the command name.
Command Summary
Table 6-1 lists and describes all the Inspect commands.
Table 6-1. High-Level Inspect Commands (page 1 of 5)
Command Description
ADD ALIAS
Adds a name to the alias list for the current Inspect session.
ADD KEY
Adds a function-key definition to the function-key list for the
current Inspect session.
ADD PROGRAM
Adds a process or save file to the program list for the current
Inspect session.
ADD SOURCE ASSIGN
Adds a source assignment to the source assignment list.
ALIAS
Adds a name to the alias list or displays aliases for the current
Inspect session.
BREAK
Sets or displays one or more breakpoints in the current program.
CD
Changes the current OSS directory
CLEAR
Clears one or more breakpoints in the current program.
COMMENT
(--) Directs Inspect to ignore the remainder of the command line,
therefore enabling you to include remarks in a LOG file, an
OBEY file, or the INSPLOCL or INSPCSTM configuration files. A
double hyphen can be used instead of COMMENT.
DELETE ALIAS
Removes one or all names from the alias list for the current
Inspect session.
DELETE KEY
Removes one or all function-key definitions from the function-
key list.
DELETE SOURCE
ASSIGN
Removes one or all source assignments from the source
assignment list for the current Inspect session.
DELETE SOURCE
OPEN
Closes one or all source files that Inspect has opened as the
result of previous SOURCE commands.
DISPLAY
Formats and displays a variety of items, including constants,
expressions, code, and data.