Introduction MTB Statements File System Compiler Applications Reference Guide Index

Sort descending sort/merge

Statement: FILE (lun) CTL="@05xxyy@"
Discussion: This statement specifies descending sort/merge, where xx and yy are the logical unit numbers in hex of two open Comet sequential work files. The record size of the work files should be the same as the size of the records to be sorted. Use this control code if the amount of data to be sorted exceeds 64K or if you are not certain how much data is to be sorted.

The (lun) parameter is the logical unit number of the sort gateway device which has been previously opened in your program.


Sort Gateway