Language Reference |
interrupts module execution
You can specify an operand in the PAUSE statement to supply a message to be printed for the pause prompt. If no operand is specified, the following default message is printed:
paused in module XXXIn this case, XXX is the name of the module containing the pause. If you want to suppress all messages in a PAUSE statement, use an asterisk as the operand, as follows:
pause *;The PAUSE statement should only be specified in modules. It generates a warning if executed in immediate mode.
When an error occurs while executing inside a module, IML automatically behaves as though a PAUSE statement was issued. IML prints the following note:
paused in moduleIML also puts you in immediate mode within the module environment, where you can correct the error. You can then resume execution from the statement following the one where the error occurred by issuing a RESUME command.
IML supports pause processing of both subroutine and function modules. See also the description of the SHOW statement using the PAUSE option.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.