<size specifications>
── , ──<memory size>─┬───────────────────┬─────────────────────────────┤
└─ , ─┬─<disk size>─┤
└─<pack size>─┘
<memory size>
──<arithmetic expression>──────────────────────────────────────────────┤
<disk size>
──<arithmetic expression>──────────────────────────────────────────────┤
<pack size>
── PACK ─┬─────────────────────────┬───────────────────────────────────┤
└─<arithmetic expression>─┘
The size specifications allow the programmer to specify the maximum amount of main memory and disk storage to be used by the sort intrinsic.
The memory size specifies the maximum amount, in words, of main memory that is to be used. If the memory size is unspecified, a value of 12,000 is assumed.
The disk size specifies the maximum amount, in words, of disk storage that can be used. If the disk size is unspecified, a value of 600,000 is assumed.
If the pack size is specified, temporary files created by the sort intrinsic have PACK, instead of DISK, as the value of their FAMILYNAME attribute. For an explanation of the FAMILYNAME attribute, refer to the File Attributes Programming Reference Manual. If the arithmetic expression option does not appear in the pack size element, a value of 600,000 words is assumed.

