Previous Page | Next Page

The DOWNLOAD Procedure

EXCLUDE Statement


Excludes library members or catalog entries from downloading.

Syntax

EXCLUDE lib-member-list </ MEMTYPE=mtype >;
EXCLUDE 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.

lib-member-list

specifies which library members to exclude from downloading. 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.

Restrictions: 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 downloading. Each element of cat-entry-list has the form entry.type.

entry

is the name of an entry in the catalog to exclude from downloading.

.type

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

MEMTYPE=mtype

specifies a member type to exclude from downloading.

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 DOWNLOAD statement.
ENTRYTYPE=etype

specifies a catalog entry type to exclude from downloading. 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.

Previous Page | Next Page | Top of Page