unusable state. In this case, you can submit the PROC DATASETS REPAIR command
to restore the tables to a usable state.
The OPER DISCONNECT command differs from the OPER CANCEL command.
When the OPER DISCONNECT command is submitted, the user proxy continues until
it detects that the control socket connection has been dropped. As a result, the OPER
DISCONNECT command has the potential to complete. However, when the control
socket disconnect is detected by the user proxy varies, with different results.
OPER INTERRUPT;
The OPER INTERRUPT command sets a soft interrupt flag in any open tables that
belong to the user proxy. During certain long-running operations, such as large table
sorts, table scans with a WHERE clause, or index creations, the user proxy periodically
checks for an interrupt flag in all of the open tables that are involved in the operation.
If an interrupt flag is detected, the user proxy terminates the operation and any
previously opened tables are closed.
Unlike the OPER CANCEL command or the OPER DISCONNECT command, the
OPER INTERRUPT command initiates a soft exit of the user proxy. The user receives
a message in the SAS log that states that the job has been interrupted. If the job did not
finish, then the results might be incomplete. However, the user LIBNAME will be
intact, and the user proxy will still be viable. Whether a job will be interrupted cannot
be determined; it depends on the job that is currently running. To determine if a job can
be interrupted, submit a SHOWLIBNAME libref / DATA=_ALL_ command before
you submit the OPER INTERRUPT command to see all of the open tables. You can
also submit the SHOWLIBNAME libref/ DATA=_ALL_ command after you submit
the OPER INTERRUPT command, to see if all of the open tables were closed. If the
tables are still open after the OPER INTERRUPT command has been submitted, you
can wait and check again later. If the tables need to be closed immediately, you can use
the OPER CANCEL command to cancel the user proxy.
TRUNCATE Command and Example
The TRUNCATE command is a PROC SPDO command that allows you to delete all of
the rows in a table without deleting the table structure or metadata.
%let host=kaboom;
%let port=5191;
%let domain=path2;
LIBNAME &domain sasspds "&domain"
server=&host&port
user='anonymous'
ip=YES;
/* create a table */
DATA &domain..staceys_table;
do i = 1 to 100;
output;
end;
run;
214
Chapter 16 • SPD Server Operator Interface Procedure (PROC SPDO)
Содержание Scalable Performance Data Server 4.5
Страница 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Страница 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Страница 8: ...2...
Страница 12: ...6...
Страница 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Страница 64: ...58...
Страница 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Страница 72: ...66...
Страница 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Страница 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Страница 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Страница 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Страница 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Страница 154: ...148...
Страница 198: ...192 Chapter 14 ACL Security Overview...
Страница 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Страница 214: ...208...
Страница 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Страница 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Страница 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Страница 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Страница 270: ......