[Digital logo]
[HR]

OpenVMS User's Manual


Previous | Contents


Example:

$ SORT/STATISTICS PRICE1.DAT,PRICE2.DAT PRICE.LIS 

This SORT /STATISTICS command results in the following statistical display:
              OpenVMS Sort/Merge Statistics 
 
Records read:         793   Input record length:     80 
Records sorted:       793   Internal length:         80 
Records output:       793   Output record length:    80 
Working set extent:   100   Sort tree size:         412 
Virtual memory:       433   Number of initial runs:   2 
Direct I/O:            22   Maximum merge order:      2 
Buffered I/O:           9   Number of merge passes:   1 
Page faults:         3418   Work file allocation:   114 
Elapsed time: 00:00:05.98   Elapsed CPU:    00:00:03.63 

/WORK_FILES[=n]

11.10.2 Input File Qualifier

The following input qualifier should be included immediately after the input file specification in the SORT or MERGE command line:

/FORMAT=(RECORD_SIZE:n,FILE_SIZE:n)

11.10.3 Output File Qualifiers

The following output qualifiers can be used with the SORT and MERGE commands. To use an output file qualifier, include the qualifier immediately after the output file specification in the SORT or MERGE command line.

/ALLOCATION=n

/BUCKET_SIZE=n

/CONTIGUOUS

/FORMAT=(type:n[,...])

/INDEXED_SEQUENTIAL

(The high-performance Sort/Merge utility does not support indexed sequential output file organization. Implementation of this feature is deferred to a future OpenVMS Alpha release.)

/OVERLAY

(The high-performance Sort/Merge utility does not support use of the /OVERLAY qualifier. Support of this feature is deferred to a future OpenVMS Alpha release.)

/RELATIVE

/SEQUENTIAL

11.10.4 Specification File Qualifiers

The following qualifiers can be used in specification files. (The high-performance Sort/Merge utility does not support specification files. Implementation of this feature is deferred to a future OpenVMS Alpha release.) Note that these qualifiers are valid only within a Sort/Merge specification file.

/CDD_PATH_NAME="cdd-path-name"

/[NO]CHECK_SEQUENCE

/COLLATING_SEQUENCE=(SEQUENCE=sequence-type
[,MODIFICATION=("char1" operator "char2")] [,IGNORE=character or character range,...] [,FOLD] [,[NO]TIE_BREAK])

/CONDITION=(NAME=condition-name,
TEST=(field-name operator test-condition [logical-operator...]))

/DATA=field-name
/DATA=(IF condition THEN "new contents" ELSE "new contents")

/FIELD=(NAME=field-name,POSITION:n,SIZE:N,[DIGITS:n,]data-type /FIELD=(NAME=field-name,VALUE:n,SIZE:N,[DIGITS:n,]data-type)

/INCLUDE=(CONDITION=condition[,KEY=...] [,DATA=...])

/KEY=field-name
/KEY=(field-name,order) /KEY=([IF condition THEN value ELSE]...) value [,order]