You are here: Commands > Set with No Preference Equivalents > Set Allocation

Set Allocation

Changes the settings for data (keyword DATA) or text (keyword TEXT) file allocation on the Arbutus zSeries Server.

Note: You cannot specify both data and text file allocations within the same Set Allocation command.

Issuing Set Allocation with no parameters will reset the current data and text file allocation values back to their default settings (that is, those specified in the Arbutus zSeries Server Custom file).

Note: If PRIMARY and/or SECONDARY parameters are specified but are not preceded with either DATA or TEXT then the remainder of the command line after SET ALLOCATION is ignored.

Set Allocation always displays the current allocation settings.

Command Mode Syntax

SET ALLOCATION

<{DATA|TEXT}<PRIMARY n> <SECONDARY n> <TRK|CYL|BLK>>¿

The following examples assume that the default settings in the Arbutus zSeries Server Custom file is BLOCKS.

Example 1:

@ set allocation DATA primary 33 secondary 13

Data allocation (BLK): Primary 33 Secondary 13

Text allocation (BLK): Primary 100 Secondary 500

Example 2:

@ set alloc DATA primary 333 secondary 33 TRK

Data allocation (TRK): Primary 333 Secondary 33

Text allocation (BLK): Primary 100 Secondary 500

Example 3:

@ set alloc DATA primary 333 secondary 33 CYL

Data allocation (CYL): Primary 333 Secondary 33

Text allocation (BLK): Primary 100 Secondary 500

Example 4:

@ set alloc TEXT primary 5 secondary 55 CYL

Data allocation (BLK): Primary 333 Secondary 33

Text allocation (CYL): Primary 5 Secondary 55