UPLOAD Procedure
SELECT Statement
Selects specific library members or catalog entries
to upload.
Restriction: |
You cannot use the EXCLUDE and SELECT statements in the
same PROC UPLOAD step.
|
Syntax
SELECT lib-member-list </ MEMTYPE=mtype>;
SELECT cat-entry-list </ ENTRYTYPE=etype>;
Syntax Description
Use the format lib-member-list </ MEMTYPE=mtype> when
you specify the INLIB= and OUTLIB= options in the PROC UPLOAD statement.
Use the format cat-entry-list </ ENTRYTYPE=etype>
when you specify the INCAT= and OUTCAT= options in the PROC UPLOAD
statement.
- lib-member-list
-
specifies which library
members to exclude from uploading. You can name each member explicitly
or use one of the following forms:
- prefix
-
specifies all members
whose names begin with the character string prefix. For example, if you specify TEST:
, all
members with names that begin with the letters TEST
are excluded.
- first-last
-
specifies all members
whose names have a value between first and last. For example, if
you specify TEST1-TEST3
, any files that are
named TEST1
, TEST2
, or TEST3
are excluded.
Restriction:first and last must begin with identical character strings
and must end in a number.
- cat-entry-list
-
specifies which catalog
entries to exclude from uploading. Each element of cat-entry-list has the form entry.type.
- entry
-
is the name of an entry
in the catalog to exclude from
uploading.
- .type
-
is the type of the
catalog entry. This part of the name is optional.
- MEMTYPE=mtype
-
specifies a member
type to exclude from uploading.
Here are the valid
member types:
Alias:MTYPE=, MT=
Requirement:To use this option, you must also specify the INLIB=
and OUTLIB= options in the PROC UPLOAD statement.
- ENTRYTYPE=etype
-
specifies a catalog
entry type to exclude from uploading. Examples of catalog entry types
include FORMAT and DATA.
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
server SAS catalog in the order that you specify them in the SELECT
statement.
Alias:ETYPE=, ET=
Requirement:To use this option, you must specify the INCAT= and OUTCAT=
options in the PROC UPLOAD statement.
Copyright © SAS Institute Inc. All rights reserved.