Previous Topic: TYPE Control StatementNext Topic: DATE Control Statement


SORT Control Statement

The SORT control statement is optional and specifies the sort sequence for the Audit reports. The format for the SORT control statement is:

1    6
SORT=[value]

Control Statement Definition

SORT

Is the control statement identifier and must start in position 1.

value

Indicates the requested sort sequence. The valid sort values are:

VOLSER

Volume serial number. Audit record types 0, 1, 2, 3 and 4 are reported. Records are sorted by VOLSER, then by date/time.

DSN

Data set name. Only Audit record types 0, 1, 2, and 3 are reported. Records are sorted first by data set name, then by date/time.

TIME

Date and time the Audit records were logged. All record types can be reported. Records are sorted only by date/time. This is the default sort sequence.

TYPE

Audit record type code. The six type codes were listed previously under TYPE Control Statement. Records are sorted first by type code, then by date/time.