Chapter Contents |
Previous |
Next |
SAS/ACCESS Interface to SYSTEM 2000 Data Management Software: Reference |
Single-User Operation |
Issue the USER statement to establish your password and start your SYSTEM 2000 session. For example, the following statements attach the EMPLOYEE database:
user,demo; data base name is employee;
The SYSTEM 2000 interface to the SAS System accesses the database and
displays any output on the output window or in the SAS print file (if you
are executing in interactive line mode).
For example, the LIST=YES parameter displays the parameter values on
the log window when the system is initialized. To suppress this display, edit
a file to contain LIST=NO and allocate it with a fileref of S2KPARMS in your
SYSTEM 2000 CLIST or EXEC.
If you interrupt processing at any other time, the interrupt is ignored. When you return to the SAS System, the usual SAS interrupt-handling mechanism is restored.
While it is not recommended, you can prevent single-user access from intercepting the SAS attention-interrupt mechanism by specifying STAX=NO in the S2KPARMS file. Be aware, however, that if you terminate both the QUEST procedure and the SAS System with the SAS Attention exit after having updated the database, you might have unwritten buffers left in memory. As a result, the database could be damaged.
Multi-User Operation |
QUEST Ready S2K3212/00 - SYSTEM 2000 INTERACTIVE INTERFACE READY -
Issue the USER statement to establish your password and start your SYSTEM 2000 session. For example, the following statements attach the EMPLOYEE database:
user,demo; data base name is employee;
The SYSTEM 2000 interface to the SAS System accesses the database and
displays any output on the output window or in the SAS print file (if you
are executing in interactive line mode).
Ten tracks of 3350 disk space is enough for typical use. If some output
cannot be stored on S2KOUTP, message -897- appears, and you will lose some
output. Reallocate the file with more space later.
local command file is fileref;
where fileref is the DDname for the file. However, any SAS macros in the file will not be expanded because the QUEST procedure will submit the statements directly to SYSTEM 2000 software without the SAS System reading them.
The following statement lets you continue to submit statements from the PROGRAM EDITOR window; write it at the end of the Command File:
LOCAL COMMAND FILE IS INPUT;
If you omit this command, the QUEST procedure automatically returns to the PROGRAM EDITOR window when it finds an end-of-file on the Command File.
Note: SYSTEM 2000 commands in a Command File must be specified in uppercase
or a syntax error will occur.
The QUEST procedure allows you to use alternate user files for the Data
File, Message File, and Report File also. They can be local files or files
allocated in the Multi-User region.
Instead, if you interrupt processing while looking at the output screen, the attention interrupt is interpreted to mean that you want to purge any further output. The first line on the next page is displayed, but any further output from your last statement is discarded. If you interrupt processing at any other time, the interrupt is ignored.
To cancel the session, you must first terminate the QUEST procedure.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.