Chapter Contents

Previous

Next
MCS

MCS



Optional statement


Syntax
Details

Syntax

MCS;


Details

The MCS statement puts the QUEST procedure into statement-queuing mode (multiple command submission). That is, the QUEST procedure accumulates statements in a 32760-byte buffer before submitting them to SYSTEM 2000 software. You submit the accumulated statements to SYSTEM 2000 software by submitting two semicolons. You will remain in MCS mode until you issue the SCS statement.

The MCS statement is ignored in single-user access. 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 together as a set, for example,

If your accumulated statements fill up the buffer, the system displays message -898-. This message asks you either to submit the statements in the buffer by entering two semicolons or to submit the SCS statement to erase the buffer contents and terminate MCS mode.

Issue the RECALL command to bring the submitted statements back to the program editor window. Issue the SAVE command to store the statements in an external file. Then, you can use the LOCAL COMMAND IS statement to have SYSTEM 2000 software process the statements in that file.

Also, if you exit the SAS System, the MCS buffer is emptied without sending the statements to SYSTEM 2000 software. To exit the SAS System and close the database, enter BYE on the program editor's command line 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 with a double semicolon. Otherwise the statements are not sent to SYSTEM 2000 software.


Chapter Contents

Previous

Next

Top of Page

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