Native Inspect Manual (H06.13+, J06.03+)
priv Command
Sets, unsets, or shows the privilege level of the debugging session. The privilege level in turn controls
whether a user can perform privileged debugging operations such as setting breakpoints on or
stepping in to privileged functions.
To use the priv command to turn privileged debugging on or off, you must be logged on as the
super ID.
Entered with no options, displays the current priv mode status.
priv [on|off]
ptype Command
Prints the definition of a specified data type or the data type of a variable or expression.
ptype [data-type|variable-name]
Where:
data-type
The data type about which you want information. For C/C++ code, data-type can have the
form class class-name, struct struct-tag, union union-tag, or enum enum-tag.
variable-name
The name of a variable whose data type you want displayed.
The ptype command is similar to the whatis Command except that ptype prints the detailed
description, while whatis prints just the name of the data type.
Example
• To display the definition of the struct named a_struct:
(eInspect 7,519): ptype a_struct
type = struct type_struct {
int i;
char c;
}
• COBOL example:
(eInspect 7,444): ptype EM
type = PIC X(4)
(eInspect 7.444): ptype RECX
type = RECORD
02 NATA NATIVE-4
02 NATB NATIVE-8
(eInspect 7,444): ptype ARRX
type = NATIVE-2 OCCURS 4 TIMES
pwd Command
Prints the current working directory.
pwd
Example
To display the current working directory:
(eInspect 2,1142): pwd
Working directory \PIPPIN.$D0101.INSPECT.
quit (exit) Command
Ends a Native Inspect session. See also exit (quit) Command (page 79).
108 Native Inspect Command Syntax










