Programming Statements

PAUSE Statement

The general form of the PAUSE statement is as follows:

PAUSE < message > < * > ;

The PAUSE statement does the following:

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 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, as follows:

  
    pause *;
 

The following are 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:

Previous Page | Next Page | Top of Page