UNIT_NAME

The UNIT_NAME keyword specifies the generic or esoteric unit names.

Syntax

Read syntax diagramSkip visual syntax diagramUNIT_NAME=(,user_varuuuuuuuu$NULL)

UNIT_NAME=(uuuuuuuu|user_var|$NULL, uuuuuuuu|user_var|$NULL,….)

Note: UNIT_NAME is only applicable to non-SMS, non-VSAM data sets. It does not apply to VSAM DEFINEs or SMS data sets. When a data set is allocated as DISP=NEW, the unit name that is used for matching is the one that is identified with the UNIT= JCL keyword or equivalent dynamic allocation text unit, or the one defaulted to by the system. For non-DISP=NEW allocations, the unit name is the generic unit name as identified in the catalog.

Where:

uuuuuuuu is the 1 - 8 character unit name. Wildcard characters are permitted.

Default

None.

Environments

ACS, ALLOCATE, EXTEND, UNALLOCATE, STOW, and CATCHECK.

JCL equivalent

DD01 DD UNIT=SYSALLDA

Related Enhanced Allocation Management function

SET_UNIT_NAME

Examples

UNIT_NAME=SYSALLDA 
UNIT_NAME=&UNAMES