|
The SORTCLEAR statement terminates a sort session, discarding all data.
Format
SORTCLEAR sortvar
where
| sortvar | is a sort variable created by a previous use of SORT(). |
The SORTCLEAR statement tidies up on completion of a sort operation by clearing the memory based sort tree and deleting any sort work files. A sort session is implicitly cleared by any action that overwrites the sort variable.
See also:
Sorting, SORT(), SORTADD, SORTDATA(), SORTNEXT()
|