Previous Page | Next Page

System Options under z/OS

SORT= System Option: z/OS



Specifies the minimum size of all allocated sort work data sets.
Default: 0
Valid in: configuration file, SAS invocation, OPTIONS statement, OPTIONS window
Category: Sort: SORT
PROC OPTIONS GROUP= SORT
z/OS specifics: all

Syntax
Details
Example
See Also

Syntax

SORT=n | nK

n | nK

specifies the minimum size of sort work files that SAS allocates in the units specified by the SORTUNIT option.


Details

The SORT= option specifies the minimum size of all sort work files that SAS allocates. The units are specified by the SORTUNIT= option. If the DYNALLOC system option is specified, then any value that you specify for the SORT= option is ignored.


Example

The following example, which includes descriptions of the options in the code, allocates three sort work data sets and specifies a primary space of two cylinders for each data set.

NODYNALLOC    /*Host sort does not support doing DYNALLOC for SORTWKxx*/
SORTPGM=HOST  /*Always use HOST sort utility*/
SORT=4        /*Unadjusted minimum PRI space for DYNALLOC*/
SORTWKNO=3    /*Allocate 3 sort work datasets*/
SORTUNIT=CYLS /*Allocation will be in CYLS*/
SORTDEV=SYSDA /*Device to allocate space on*/
SORTWKDD=SASS /*DDname prefix for allocation*/
   

Each of the three sort work data sets will have a minimum amount of primary space. SAS calculates the minimum space by dividing the value specified for the SORT= option by the number of sort files, and rounding up to the next whole number. Therefore, the three allocations will be similar to the following JCL allocation:

//SASSWK01 DD SPACE=(CYL,(2)),UNIT=SYSDA
//SASSWK02 DD SPACE=(CYL,(2)),UNIT=SYSDA
//SASSWK03 DD SPACE=(CYL,(2)),UNIT=SYSDA


See Also

Previous Page | Next Page | Top of Page