Store STATEMENT

PURPOSE:  This PM statement places commands in the command area.  The commands are executed immediately after the PM completes execution.  Use the STORE statement to start another PM, start a CM, exit the ACCENT R session, or execute a command.

It is possible to STORE more than one command in the command area.

The execution of the commands can be traced if COMMAND AREA TRACE is ENABLEd.

At the command level, the commands STOREd in the command area have the highest execution priority.  If a command is STOREd after a USE CM or USE SF, that command is executed and any commands stored by the CM or SF are ignored until all commands in the command area have been executed.  The commands are executed in the order they have been stored in the command area.

SYNTAX

STORE sae IN COMMAND AREA

sae

can be any ACCENT R commands.

Example

The following PM statement executes PM NEXT after the current PM completes execution.

STORE 'USE PM NEXT' IN COMMAND AREA

After the PM completes execution, the message "Data entry completed"  is displayed, and ACCENT R is exited.

STORE 'TYPE "Data entry completed"' IN COMMAND AREA
STORE 'QUIT' IN COMMAND AREA