-J, --sortseg

Sortseg is a more powerful form of table segmentation that in addition to segmenting, sorts the data in the specified column(s).

Syntax

-J [SORTSEG1],[SORTSEG2],[SORTSEG3],...,[SORTSEGn]
--sortseg=[SORTSEG1],[SORTSEG2],[SORTSEG3],...,[SORTSEGn]

Description

Sortseg segments a table by a column or columns so that all like values for a given column are stored together and sorted. For example, if a table is segmented by date, all values for a given date must be located in the same segment and sorted in date order.

After loading the table, --sortseg reorganizes the table so that it is sortseg in the order [SORTSEG1],[SORTSEG2],...[SORTSEGn].

For more information about segmentation options, see Segmentation options.

Note: --sortseg cannot be used with --segby.