The DOWNLOAD Procedure |
Restrictions: | You cannot use both the EXCLUDE and SELECT statements in the same PROC DOWNLOAD step. |
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 DOWNLOAD statement.
Use the format cat-entry-list </ ENTRYTYPE=etype> when you specify the INCAT= and OUTCAT= options in the PROC DOWNLOAD statement.
specifies which library members to download. You can name each member explicitly or use one of the following forms:
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 downloading.
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 downloading.
Restrictions: | first and last must begin with identical character strings and must end in a number. |
specifies which catalog entries to download. Each element of cat-entry-list has the form entry.type.
entry | |
.type |
is the type of the catalog entry. This part of the name is optional. |
specifies a member type to download.
Here are the valid member types:
Alias: | MTYPE=, MT= |
Requirements: | To use this option, you must also specify the INLIB= and OUTLIB= options in the PROC DOWNLOAD statement. |
specifies a catalog entry type to download. 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 DOWNLOAD statement. |
Note: The SELECT statement also enables you to maintain an ordering and grouping of catalog entries that contain graphics output, because entries are downloaded into the client SAS catalog in the order that you specify them in the SELECT statement.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.