02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

You can see the values of the preceding options by submitting:<br />

proc options group=sort; run;<br />

PROC SORT Statement Options<br />

Procedures under z/<strong>OS</strong> SORT Procedure 337<br />

The following host-specific sort options are available in the PROC SORT statement<br />

under z/<strong>OS</strong> in addition to the statement options that are available under all host<br />

operating environments. The list includes the portable EQUALS option because it has<br />

aspects that are specific to z/<strong>OS</strong>.<br />

DIAG<br />

passes the DIAG parameter to the sort utility. If the utility supports this option,<br />

then it will produce additional diagnostic in<strong>for</strong>mation if the sort fails.<br />

EQUALS<br />

passes the EQUALS parameter to the sort utility program whether or not the sort<br />

utility supports it. <strong>SAS</strong> software defaults to EQUALS by passing the parameter to<br />

the utility if the <strong>SAS</strong> system option SORTEQOP is in effect.<br />

LEAVE=n<br />

specifies how many bytes to leave unallocated in the region. Occasionally, the<br />

SORT procedure runs out of main storage. If this happens, rerun the job and<br />

increase the LEAVE= value (which has a default value of 16000) by 30000.<br />

LIST | L<br />

provides additional in<strong>for</strong>mation about the system sort. Not all sort utilities<br />

support the specification of the LIST option; they may require that it be specified<br />

when the sort utility is generated or installed. This option is the default action if<br />

the <strong>SAS</strong> system option SORTLIST is in effect. Also, this option overrides<br />

N<strong>OS</strong>ORTLIST if it is in effect.<br />

MESSAGE | M<br />

prints a summary of the system sort utility’s actions. This option is the default<br />

action if the <strong>SAS</strong> system option SORTMSG is in effect. Also, this option overrides<br />

N<strong>OS</strong>ORTMSG if it is in effect. MESSAGE is useful if you run PROC SORT and<br />

the <strong>SAS</strong> log prints a message indicating that the sort did not work properly.<br />

Explanations of the message can be found in the IBM or vendor reference manual<br />

that describes your system sort utility.<br />

SORTSIZE=n | nK |nM |nG | MAX | SIZE<br />

specifies the maximum virtual storage that can be used by the system sort utility.<br />

If not specified, the default sort size is given by the <strong>SAS</strong> system option<br />

SORTSIZE=.<br />

SORTWKNO=n<br />

specifies how many sort work areas PROC SORT allocates. If not specified, the<br />

default is given by the <strong>SAS</strong> system option SORTWKNO=.<br />

TECHNIQUE=xxxx |T=xxxx<br />

specifies a four-character sort technique to be passed to the system sort utility.<br />

<strong>SAS</strong> does not check the validity of the specified value, so you must ensure that it<br />

is correct.<br />

Specifying the SORTSEQ= Option with a Host Sort Utility<br />

The SORTSEQ= option enables you to specify the collating sequence <strong>for</strong> your sort. For<br />

a list of valid values, see the Base <strong>SAS</strong> Procedures Guide.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!