Using the Directory Cleanup Utility Spdsclean
The spdsclean program is a command-line utility. It supports a set of command-line options
and parameters you use to specify the location and names of tables to convert, and behaviors
that you want to control during the conversion process.
The command line is as follows:
spdsclean
<-options>
The order of options on the command line does not matter. All options are global in scope.
Spdsclean Wildcards and Pattern Matching
Some
spdsclean
options, such as –DOMAINS use wildcards and pattern matching
functions. The spdsclean utility uses the following wildcard and pattern matching rules:
•
Character strings must match the LIBNAME domain name from the libname file. The
match is not case sensitive.
•
Using '
.
' or a '
?
' characters in the search pattern will wildcard match any single character
in a LIBNAME domain name in the libname file.
•
The '
*
' character terminates the pattern and wildcard matches all remaining characters
in the LIBNAME domain name in the libname file.
For example, the -domains pattern '
?test*
' will match the domains '
ATEST1
',
'
ATEST123
', '
ATESTXYZ
', '
CTEST1
', and so on, from a libname file. The -domains
pattern '
test*
' will match only the domain name '
TEST
' from the libname file.
Note:
When you use wildcard characters in a -domains pattern, follow the rules for your
command shell (such as ksh) to ensure that these characters are passed to the spdsclean
command. For example, a ksh command shell user would need to enclose the wildcard
pattern in quotation marks. The question marks ensure that the wildcard pattern matching
occurs relative to the spdsclean command.
spdsclean -domains "?test*"
You can also disable command shell globbing for the execution of the
spdsclean
command.
Spdsclean Options
Spdsclean
options fall into two classes. The first class of
spdsclean
options are options
that define actions. The second class of
spdsclean
options are options that modify behavior.
Examples for both classes of
spdsclean
options follow.
Spdsclean Options That Define Actions
The
spdsclean
utility uses the following option settings to define specific actions:
252
Chapter 20 • SPD Server Directory Cleanup Utility
Содержание 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: ......