![]() Chapter Contents |
![]() Previous |
![]() Next |
| The SORT Procedure |
| PROC SORT <option(s)> <collating-sequence-option>; |
| Options |
| Restriction: | You can specify only one collating sequence option in a PROC SORT step. |
| See also: | Sorting Orders for Character Variables |
| Default: | NO |
The Danish and Norwegian collating sequence is shown in National Collating Sequences of Alphanumeric Characters.
Operating Environment Information:
For
information about operating environment-specific behavior,
see the SAS documentation for your operating environment.
| Restriction: | You can specify only one collating sequence option in a PROC SORT step. |
| Main discussion: | Input Data Sets |
| Restriction: | You can specify only one collating sequence option in a PROC SORT step. |
| See also: | Sorting Orders for Character Variables |
Operating Environment Information:
For
information about operating environment-specific behavior,
see the SAS documentation for your operating environment.
| Restriction: | You can specify only one collating sequence option in a PROC SORT step. |
| Restriction: | You can specify only one collating sequence option in a PROC SORT step. |
Operating Environment Information:
If you use the VMS operating environment sort, the observation that is written to the output data set is not always the first observation of the BY group.
| See also: | NODUPRECS |
| Featured in: | Displaying the First Observation of Each BY Group |
| Default: | Without OUT=, PROC SORT overwrites the original data set. |
| Tip : | You can use data set options with OUT=. |
| Featured in: | Sorting by the Values of Multiple Variables |
| Danish | |
| Finnish | |
| Italian | |
| Norwegian | |
| Spanish | |
| Swedish |
To see how the alphanumeric characters in each language will sort, refer to National Collating Sequences of Alphanumeric Characters.
| Restriction: | You can specify only one collating sequence, either by SORTSEQ= or by one of the individual options that are available in the PROC SORT statement. |
National Collating Sequences of Alphanumeric Characters
Specifying the SORTSIZE= option in the PROC SORT statement
temporarily overrides the SAS system option SORTSIZE=. For information about
the system option, see the section on SAS system options in SAS Language Reference:
Dictionary
Operating Environment Information:
| Tip: | When the total length of BY variables is small compared with the record length, TAGSORT reduces temporary disk usage considerably. However, processing time may be much higher. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.