Inspect Manual

Using Inspect in an OSS Environment
Inspect Manual429164-006
14-3
Save Files
The CD command can be used to change the default OSS directory.
The ENV command can be used to display both the defaults.
For more information, see VOLUME on page 6-223, CD on page 6-27, or ENV on
page 6-81.
Save Files
The same events that cause a save file to be created for Guardian processes cause
save files to be created for OSS processes. That is, if the process ABENDs or
otherwise terminates abnormally, or you type Inspect’s SAVE command to create a
save file explicitly, a save file will be created.
If your process terminates abnormally, save files are only created if the SAVEABEND
flag is on that process, as opposed to Inspect’s SAVE command which creates a save
file regardless of the value of the SAVEABEND flag. In addition, a save file will only be
created if the process is being actively debugged, or the parent process has sufficient
access to the debug process.
Process save files for OSS processes are created in the current working directory of
the ABENDing process. The files are owned by the effective User ID (UID) of the
process requesting the save file (in the case of ABEND, the process itself is requesting
the file). Save files are created with permission bits allowing read and write access to
owner, read access to group, and read access to other. Process save files created
automatically by a process ABENDing will be named ZZSAnnnn, where nnnn is a four
digit number.
Signals
Two complimentary Inspect commands support OSS signals, INFO SIGNALS and
MODIFY SIGNALS. INFO SIGNALS displays signal information for the current
program and MODIFY SIGNALS changes signal handlers for OSS processes which
are the current program. Use the commands HELP INFO SIGNALS and HELP
MODIFY SIGNALS for an in-depth description of signals.
Signals allow two processes to communicate with each other. Two complimentary
Inspect commands support OSS signals, INFO SIGNALS and MODIFY SIGNALS.
INFO SIGNALS displays signal information for the current program and MODIFY
SIGNALS changes signal handlers for OSS processes which are the current program.
Refer to the Open System Services Programmer’s Guide for an in-depth description of
signals.
Considerations
You cannot set breakpoints on signal events, but you can set a breakpoint on a
signal handler.
Inspect cannot be used to send signals to other processes.