Assignment command (PL/I)
The Assignment
command assigns the value of an
expression to a specified reference.
- reference
- A valid z/OS® Debugger PL/I reference.
- expression
- A valid z/OS Debugger PL/I expression.
Usage notes
- The PL/I repetition factor is not supported by z/OS Debugger.
For example, the following is not valid:
rx = (16)'01'B;
- If z/OS Debugger was started because of a computational condition or an attention interrupt, using an assignment to set a variable might not give the expected results. This is because z/OS Debugger cannot determine variable values within statements, only at statement boundaries.
- The PL/I assignment statement option
BY NAME
is not valid in the z/OS Debugger. - If you are debugging a Enterprise PL/I program, the target of an assignment command cannot be the variables %EPRn, %FPRn, %GPRn, or %LPRn.
- The
Assignment
command cannot be used while you replay recorded statements by using thePLAYBACK
commands.
Examples
- Assign the value 6 to variable
x
.x = 6;
- Assign to the z/OS Debugger variable
%GPR5
the address ofname_table
.%GPR5 = ADDR (name_table);
- Assign to the
prg_name
variable the value of z/OS Debugger variable%PROGRAM
.prg_name = %PROGRAM;
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- references
- PLAYBACK commands