Previous Topic: UsageNext Topic: EXPAND PAGE


Example

The following example defines models for work files that are used by the REORG utility.

CREATE DSMODEL W* DSN 'DBDC.TEMP.ZIP9.&DD'. UNIT SYSDA SPACE CYL (1000,100)
BLKSIZE 8192;

CREATE DSMODEL WD* FROM W* SPACE CYL (10, 10) VOLSER DBA001 UNIT 3390;

CREATE DSMODEL WS* FROM W* SPACE CYL (3000, 10);

REORG ...

By default, all work files are allocated on SYSDA devices with a 1000 cylinder initial space allocation, have a block size of 8192, and a data set name of "DBDC.TEMP.ZIP9.xxxxxxx", where xxxxxxx is the file's DDNAME. DBKEY files (those whose DDNAME begins with "WD") are allocated on volume DBA001 with an initial allocation of 10 cylinders. Sorted files (those whose DDNAME begins with "WS") have an initial allocation of 3000 cylinders.