You can monitor an expression that uses the following
types of operands only:
- Variable
- A variable used in your program.
- Constant
- The constant can be one of the following types:
- Fixed-point or floating-point constant within the ranges supported
by the processor the program you are debugging is running on.
- A character constant, enclosed in single or double quotation marks.
- An X (hex) character constant, enclosed in single or double quotation
marks and followed immediately by the letter X.
- A bit constant, enclosed in single or double quotation marks and
followed immediately by the letter B.
- A B4 (hex) bit constant, enclosed in single or double quotation
marks and followed immediately by B4.
- A graphic constant, enclosed in single or double quotation marks
and followed immediately by the letter G.
- A GX (hex) graphic constant, enclosed in single or double quotation
marks and followed immediately by GX.
- Built-in functions
- The debugger supports many PL/I built-in functions as shown in
the following list:
- Mathematical
| Acos |
Cosh |
Log |
Sqrt |
| Asin |
Cotan |
Loggamma |
Tan |
| Atan |
Cotand |
Log10 |
Tand |
| Atan |
Erf |
Log2 |
Tanh |
| Atanh |
Erfc |
Sin |
|
| Cos |
Exp |
Sind |
|
| Cosd |
Gamma |
Sinh |
|
- Integer manipulation
| Iand |
Inot |
Isll |
Lower2 |
| Ieor |
Ior |
Isrl |
Raise2 |
- String handling
| Index |
Maxlength |
Searchr |
Verify |
| Length |
Search |
Tally |
Verifyr |
- Array handling
- Miscellaneous
| Addr |
High |
Offsetvalue |
Sysnull |
| Binaryvalue |
Low |
Pointer |
Time |
| Copy |
Lowercase |
Pointeradd |
Translate |
| Date |
Null |
Pointerdiff |
Unspec |
| Datetime |
Offset |
Pointersubtract |
Uppercase |
| Entryaddr |
Offsetadd |
Pointervalue |
|
| Hex |
Offsetdiff |
Repeat |
|
| Heximage |
Offsetsubtract |
Substr |
|
Restrictions
Only variables with supported
storage classes can be accessed by the debugger. The following list
indicates the storage classes that are supported:
- Automatic
- Based
- Controlled
- Defined
- Parameter
- Static
A defined variable is supported if it is a character variable
with constant position that is defined on a base variable without
subscripts.
The following are not supported by the debugger:
- Local variables option
- Variables declared within a package, but outside any contained
level-1 procedure
- Conditional entry breakpoints
- Program control data (except pointer and offset)
- String repetition factors
- User function references
- Type functions