Previous Page | Next Page

The UPLOAD Procedure

SELECT Statement


Selects specific library members or catalog entries to upload.
Restrictions: 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 upload. 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 selected for uploading.

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 selected for uploading.

Restrictions: first and last must begin with identical character strings and must end in a number.
cat-entry-list

specifies which catalog entries to upload. Each element of cat-entry-list has the form entry.type.

entry

is the name of an entry in the catalog to upload.

.type

is the type of the catalog entry. This part of the name is optional.

MEMTYPE=mtype

specifies a member type to upload.

Here are the valid member types:

  • ALL

  • CATALOG

  • DATA

  • MDDB

  • VIEW

Alias: MTYPE=, MT=
Requirements: 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 upload. Examples of catalog entry types include FORMAT and DATA.

Alias: ETYPE=, ET=
Requirements: To use this option, you must specify the INCAT= and OUTCAT= options in the PROC UPLOAD statement.

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.  [cautionend]

Previous Page | Next Page | Top of Page