IML Studio provides two commands that you can use to stop the execution of an IMLPlus program:
These two commands are discussed below.
The Stop command terminates the execution of an IMLPlus program. You cannot resume the execution of an IMLPlus program that has been stopped.
To stop the execution of an IMLPlus program
On the Program menu, click Stop.
–or–
Press CTRL+BREAK.
–or–
Click the Stop button (
) on the toolbar.
Note: Depending on what the IMLPlus program is doing at the moment you use the Stop command, the program may not stop immediately. The Stop command returns control to you immediately; it does not wait for the program to respond to the stop request. If the program still has not responded to the stop request after five seconds, IML Studio displays a dialog box that asks if you want to keep waiting for the program to stop or whether you want to take the drastic action of killing the SAS server process. If you choose to keep waiting, IML Studio will leave the stop request pending, but it will not prompt you again. If you get tired of waiting for the program to stop, you can use the Stop command again. Each time you use the Stop command, IML Studio will wait five seconds and then display the dialog box.
The Pause command interrupts the execution of an IMLPlus program. You can resume the execution of an IMLPlus program that has been paused.
To interrupt the execution of an IMLPlus program
On the Program menu, click Pause.
–or–
Press BREAK.
–or–
Click the Pause button (
) on the toolbar.
Note: Depending on what the IMLPlus program is doing at the moment you use the Pause command, the program may not pause immediately. The Pause command returns control to you immediately; it does not wait for the program to respond to the pause request. There is no benefit to using the Pause command repeatedly. If you get tired of waiting for the program to respond to the pause request, you can use the Stop command.
When you use the Pause command and the program has responded to the pause request, the IMLPlus program enters Pause mode, just as if a PAUSE statement had been executed. This causes the Auxiliary Input window to appear. You can use the Auxiliary Input window to examine and modify the values of variables.
To resume execution of a paused IMLPlus program
In the Auxiliary Input window, click Resume.
–or–
On the Program menu, click Resume.
–or–
Press ALT+F5.
–or–
Click the Resume button (
) on the toolbar.