When you specify the
INCAT= and OUTCAT= options in the
PROC DOWNLOAD statement, you can use the ENTRYTYPE= option in the PROC DOWNLOAD
statement, the SELECT statement, or the EXCLUDE statement to specify which
entry types to download. The ENTRYTYPE= option is required only if you use
a SELECT or an EXCLUDE statement. If you omit the entry type and also omit
the SELECT and EXCLUDE statements, all catalog entries are downloaded. You
can specify a single entry type in:
- the PROC DOWNLOAD statement, specify the ENTRYTYPE=
option.
- the SELECT or the EXCLUDE statement, specify the
ENTRYTYPE= option in parenthesis immediately after an entry name. If the type
is enclosed in parenthesis, it refers only to the entry name that immediately
precedes the option.
- the SELECT or the EXCLUDE statement, specify the
ENTRYTYPE= option after a slash (/) at the end of the statement. When used
following a slash, the ENTRYTYPE= option refers to all entries that are named
in the statement unless the same option appears in parenthesis after an entry
name.
- the SELECT or the EXCLUDE statement, specify the
entry type as part of the entry name. For example, you can specify TEST.MENU
in the list of entries.
You can use the ENTRYTYPE= option in multiple places.
When you do this, the DOWNLOAD procedure determines the type of each entry
- by the entry type given as part of the entry name,
such as XYZ.FORMAT.
- by the value of the option in parenthesis immediately
following the entry name, if present.
- otherwise, by the value of the option after the
slash in the SELECT or the EXCLUDE statement, if present.
- otherwise, by the value of the option in the PROC
DOWNLOAD statement, if present.
Note: If you use the ENTRYTYPE= option
in both the PROC DOWNLOAD statement and a SELECT or EXCLUDE statement, the
values must be the same. In most cases, if you are using the ENTRYTYPE= option
in a SELECT or EXCLUDE statement, you should omit it from the PROC DOWNLOAD
statement.
For releases after Release 6.08, the following message
is displayed if you try to download an entry that is not compatible with an
earlier release:
ERROR: Catalog download to earlier version
not allowed. Backward compatibility
not supported.
See Example 2. DTS: Transferring Specific Member Types by Using SELECT or EXCLUDE Statements for examples of using
the ENTRYTYPE= option.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.