System Debug Reference Manual (32650-90888)
Chapter 12 519
Dump Analysis Tool (DAT)
Operating DAT
PURGEDUMP command.
$nmdat> PURGEDUMP examp
$nmdat> EXIT
:
NOTE
When you use the EXIT command in DAT, the DAT program terminates
immediately.
Using the info= String
DAT automatically executes any commands specified within the info= string on a
RUN DAT command. These commands are executed before any commands found in the
optional DATINIT file(s).
run dat; info='{cmd1, cmd2, cmd3}'
Automatic DATINIT Files
DAT supports the automatic execution of commands with special initialization files named
DATINIT, if any exist. These files must be standard USE files (see the USE command).
DAT first tests for an initialization file (DATINIT) in the same group and account as the
DAT program file that is being executed. Secondly, DAT looks for an initialization file in
the logon group and account (if different from the program file's group and account).
Based on the existence of these special files, it is possible to execute initialization
command files from the program's group and account, from the user's group and account,
or from both.
The following initialization sequence is possible for DAT:
1. run dat; info="{cmdlist}"
INFO string command list
2. DATINIT.ProgGrp.ProgAcnt
program file group/account
3. DATINIT.UserGrp.UserAcnt
user's group/account
To prevent use of the DATINIT files, use the following RUN command with info= string:
run dat;info="use close; use close"
Since the info= string has precedence over the DATINIT files, the use close commands
are the first commands that DAT executes. In this case, any open DATINIT files are closed
before any commands are read from them.
Operating Restrictions
The following limitations exist in DAT:
• The only symbols that are accessible in CM are the SL.PUB.SYS symbols. This is
because SL.PUB.SYS is the only CM library/program file that is dumped by the DUMP
utility.