Technical data

System Dump Analyzer
DEFINE
5.
SDA> DEFINE/KEY PF1 "SHOW STACK"
SDA>
PF1
SHOW STACK
RETURN
Process stacks (on CPU 00)
-------------------------
Current operating stack (KERNEL):
7FFE8DD4 00001703 SGN$C_MAXPGFL+703
7FFE8DD8 80127920
7FFE8DDC 00000000
7FFE8DE0 00000000
7FFE8DE4 00000000
7FFE8DE8 00000000
7FFE8DEC 7FF743E4
7FFE8DF0 7FF743CC
SP => 7FFE8DF4 8000E646 EXE$CMODEXEC+1EE
7FFE8DF8 7FFEDE96 SYS$CMKRNL+006
7FFE8DFC 03C00000
The DEFINE/KEY command defines PF1 as the SHOW STACK command.
When you press the PF1 key, SDA displays the command and waits for you to
press the Return key.
6.
SDA> DEFINE/KEY/TERMINATE PF1 "SHOW STACK"
SDA>
PF1
SHOW STACK
Process stacks (on CPU 00)
-------------------------
Current operating stack (KERNEL):
.
.
.
The DEFINE/KEY command defines PF1 as the SHOW STACK command.
Also specifying the /TERMINATE qualifier causes SDA to execute the SHOW
STACK command without waiting for you to press the Return key.
7.
SDA> DEFINE/KEY/SET_STATE="GREEN" PF1 ""
SDA> DEFINE/KEY/TERMINATE/IF_STATE=GREEN PF3 "SHOW STACK"
SDA>
PF1 PF3
SHOW STACK
Process stacks (on CPU 00)
-------------------------
Current operating stack (KERNEL):
.
.
.
The first DEFINE command defines PF1 as a key that sets command state
GREEN. The trailing pair of quotation marks is required syntax, indicating
that no command is to be executed when you press this key.
The second DEFINE command defines PF3 as the SHOW STACK command,
but using the /IF_STATE qualifier makes the definition valid only when the
command state is GREEN. Thus, you must press PF1 before pressing PF3 to
issue the SHOW STACK command. The /TERMINATE qualifier causes the
command to execute as soon as you press the PF3 key.
SDA50