Previous Topic: Sample Debug Session

Next Topic: List Procedure and Subroutine Nesting Levels

Display and Modify the Contents of NCL Variables

Once the procedure has reached a particular point in its processing and it has been suspended, the DEBUG DISPLAY and DEBUG MODIFY commands can be used to display and modify the contents of variables and MDOs. The entire contents of the variable or MDO are displayed.

The modify command can be used to alter the attributes and contents of variables and MDOs. Multiple variables can be altered by specifying the operands of the modify in a similar fashion to using the &ASSIGN verb, however the new value can only be specified using the DATA= operand.