The MCS statement puts the
QUEST procedure into statement-queuing mode (multiple
command submission). That is, PROC QUEST accumulates statements in a 32760-byte buffer before
submitting them to SYSTEM 2000. If the accumulated statements fill the buffer, the
system displays message -898-. This message instructs you to submit the statements
in the buffer by entering two semicolons (;;) or to submit the SCS statement to erase
the buffer contents and terminate the MCS mode. You remain in MCS mode until you issue
the SCS statement.
The MCS statement is
ignored in single-user access mode. In a
Multi-User environment, you can use the MCS statement or a
Command File to submit a long sequence of SYSTEM 2000 statements that must be processed as a group.
For example:
-
-
to submit statements to the Report
Writer feature
-
to submit a set of IF-THEN/ELSE
statements
-
to submit
QUEUE and TERMINATE statement blocks
Issue the RECALL command to bring submitted statements back into the Program Editor.
Issue the SAVE command
to store the statements in an external file. Then, when you submit the LOCAL COMMAND
IS statement, SYSTEM 2000 processes the statements in that file.
If you exit SAS, the MCS buffer is emptied without sending the statements to SYSTEM
2000. To exit SAS and close the database, type BYE on the command line in the Program
Editor or submit an ENDSAS statement.
If you submit long strings of statements that terminate with the ENDSAS statement,
you must end the SYSTEM 2000
session by using two semicolons (;;) in order to submit the statements to SYSTEM 2000.