DEFRECORD KCML_SEARCH_REC_KEY

'KCML_Search_Record key specifier
FLD namePack formatPurpose
SEARCHKEY_StartThe start byte counted from 1
SEARCHKEY_LenThe length of the field
SEARCHKEY_SortBOOL_SPACE(1)Sort the array if not already sorted. After sorting Sorted is set to TRUE. Only applies to first segment.
SEARCHKEY_SortedBOOL_SPACE(1)TRUE iff array has been sorted. Sorted arrays can be searched much quicker. Only applies to first segment.
SEARCHKEY_LimitLimit number of entries found to this count. If 0 the defaults to finding all instances. Only applies to first segment.

More info