Chapter Contents |
Previous |
Next |
SAS Language Reference: Dictionary |
How a Debugger Session Works |
To execute the DATA step one statement at a time or a few statements at a time, use the STEP command. By default, the STEP command is mapped to the ENTER key.
In a debugging session, statements in a DATA step can iterate as many times as they would outside the debugging session. When the last iteration has finished, a message appears in the DEBUGGER LOG window.
You cannot restart DATA step execution in a debugging session after the DATA step finishes executing. You must resubmit the DATA step in your SAS session. However, you can examine the final values of variables after execution has ended.
You can debug only one DATA step at a time. You can use the debugger only with a DATA step, and not with a PROC step.
Using the Windows |
You can enter windowing environment commands on the window command lines. You can also execute commands by using function keys.
Entering Commands |
Enter DATA step debugger commands on the debugger command line. For a list of commands and their descriptions, refer to Debugger Commands by Category. Follow these rules when you enter a command:
examine _all_; set letter='bill'; examine letter
Working with Expressions |
All SAS operators that are described in SAS Operators, are valid in debugger expressions. Debugger expressions cannot contain functions.
A debugger expression must fit on one line. You cannot continue an expression on another line.
Assigning Commands to Function Keys |
dsd step3
dsd 'examine cost saleprice; go 120;'
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.