Chapter Contents |
Previous |
Next |
SAS/CONNECT User's Guide |
SELECT list</ MEMTYPE=mtype |
ENTRYTYPE=etype>; |
The SELECT statement enables you to select for uploading specific members in a SAS data library or specific entries in a SAS catalog. You cannot use both the EXCLUDE and SELECT statements in the same PROC UPLOAD step, but you can specify multiple SELECT statements.
The SELECT statement can have two forms, which are discussed
in detail in the next two sections.
You can use the following form of the SELECT statement with the INLIB= and OUTLIB= options in the PROC UPLOAD statement:
SELECT list</ MEMTYPE=mtype>; |
When you use the SELECT statement to select members of a library for uploading, list specifies the members to select for uploading. You can explicitly name all members to select or use one of the following forms of name lists:
TEST:
, all of the selected members begin with the
letters
TEST
.TEST1-TEST5
.For information about using the MEMTYPE= option, see Using the MEMTYPE= Option.
You can use the following form of the SELECT statement with the INCAT= and OUTCAT= options in the PROC UPLOAD statement:
SELECT list</ ENTRYTYPE=etype>; |
When you use the SELECT statement to select catalog entries for uploading, each element of list has the form entry.type. In this form,
entry | is the name of an entry in member to select for uploading. |
.type | is the type of the catalog entry. This part of the name is optional. |
The ENTRYTYPE= option in the SELECT statement works like the ENTRYTYPE= option in the PROC UPLOAD statement. For a complete list of entry types and for detailed information about how to use the ENTRYTYPE= option, see Using the ENTRYTYPE= Option.
Note: The SELECT statement also enables you to maintain an ordering and grouping of catalog entries that contain graphics output, because entries are uploaded into the remote SAS catalog in the order that you specify them in the SELECT statement.
See Using Data Transfer Services
for an example that illustrates how to use the SELECT statement to maintain
the order and grouping of catalog entries that contain graphics output.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.