Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-12
ADD PROGRAM
Usage Considerations
PATHWAY Requester Programs
To add a PATHWAY requester program to the Inspect program list, you must use
the PATHCOM command INSPECT TERM.
Cautions When Adding Processes
When you use ADD PROGRAM to add a process, the process will not be added to
the current Inspect session in these cases:
If the Inspect attribute of the process is not set. In this case, the operating
system starts a Debug session for the process.
If the process is executing on a remote system. In this case, IMON starts an
Inspect process (and, consequently, a new Inspect session) on the remote
process's host system.
If your user ID does not have permission to control the process.
After all these checks pass, the process will be added to the Inspect program list
after the process exits system code.
Using the CODE and LIB Clauses
The CODE and LIB clauses enable you to associate save files with object and
library files other than those specified internally in the save file. Inspect provides
these clauses so that you can obtain symbol information even when the object or
library file doesn't contain symbols. For example, most applications include
symbols only during their development; the symbol information is stripped out
before distribution. If a bug is then discovered, the customer can make a save file
and return it to the developers. Using the CODE and LIB clauses, the developers
can then associate their versions of the object and libraries (with symbols) to the
save file, therefore enabling them to use high-level, symbolic Inspect to pinpoint
the problem more quickly.
These clauses are also useful when the code or library files are no longer stored at
the location saved in the save file.
Save Files Created when a Process ABENDs
When a process, which has its SAVEABEND attribute set, terminates abnormally,
DMON automatically creates a save file in the volume and subvolume containing
the program file. The save file that DMON creates has a file code of 130 and a
name of the form ZZSAdddd, where dddd is a number chosen by DMON.
When DMON creates the save file, it prints this message at the home terminal of
the abending process:
If the home terminal is not available or is busy, DMON does not print the message.
Savefile File Created: file-name