Technical data

System Dump Analyzer
EVALUATE
2.
SDA> EVALUATE 1
Hex = 00000001 Decimal = 1 ACP$V_SWAPGRP
ACP$V_WRITECHK
EVT$_EVENT
The EVALUATE command evaluates a numeric expression and displays the
value of that expression in hexadecimal and decimal notation. This example
also shows the symbols that have the displayed value. A finite number of
symbols are displayed by default.
3.
SDA> DEFINE TEN = A
SDA> EVALUATE TEN
Hex = 0000000A Decimal = 10 EXE$V_FATAL_BUG
SGN$C_MINWSCNT
TEN
This example shows the definition of a symbol named TEN. The EVALUATE
command then shows the value of the symbol.
Note that A, the value assigned to the symbol by the DEFINE command,
could be a symbol. When SDA evaluates a string that can be either a symbol
or a hexadecimal numeral, it first searches its symbol table for a definition of
the symbol. If SDA finds no definition for the string, it evaluates the string
as a hexadecimal number.
4.
SDA> EVALUATE (((TEN * 6) + (-1/4)) + 6)
Hex = 00000042 Decimal = 66
This example shows how SDA evaluates an expression of several terms,
including symbols and rational fractions. SDA evaluates the symbol,
substitutes its value in the expression, and then evaluates the expression.
Note that the fraction –1/4–is truncated to 0.
5.
SDA> EVALUATE/CONDITION 80000018
%SYSTEM-W-EXQUOTA, exceeded quota
This example shows the output of an EVALUATE/CONDITION command.
6.
SDA> EVALUATE/PSL 04080009
CMP TP FPD IS CURMOD PRVMOD IPL DV FU IV T N Z V C
0 0 0 1 KERN KERN 08 0 0 0 0 1 0 0 1
SDA interprets the entered value 04080009 as though it were a processor
status longword (PSL) and displays the resulting field values of that
longword.
7.
SDA> EVALUATE/PTE ABCDFFEE
|31 28|27 24|23 20|19 16|15 12|11 8|7
|||||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-->
|1 | 0 1 0 1 |0 |--| 1 1 |--| 0| 0DFFEE
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-->
Vld Prot= EW M Own=U W Page Frame Number
Page is Active and Valid
The EVALUATE/PTE command displays the expression ABCDFFEE as a
page table entry (PTE) and labels the fields. It also describes the status of
the page.
SDA52