Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Programming Statements

PAUSE Statement

The general form of the PAUSE statement is

PAUSE < message > < * > ;

The PAUSE statement

A RESUME statement enables you to continue execution at the place where the most recent PAUSE statement was executed.

You can use a STOP statement as an alternative to the RESUME statement to remove the paused states and return to the immediate environment outside of the module.

You can specify a message in the PAUSE statement to display a message as the pause prompt. If no message is specified, IML displays the following default message:

   paused in module \ob XXX\obe
where XXX is the name of the module containing the pause. To suppress the display of any messages, use the * option:
   pause *;

The followingw are some examples of PAUSE statements with operands:

   pause "Please enter an assignment for X, then enter RESUME;";

   msg ="Please enter an assignment for X, then enter RESUME;";
   pause msg;

When you use the PAUSE, RESUME, STOP, or ABORT statement, you should be aware of the following details:

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.