/sys$common/syshlp/helplib.hlb SORT, /CHECK_SEQUENCE, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.$ MERGE/KEY=(SIZE:4,POSITION:3)/NOCHECK_SEQUENCE PRICE1.DAT, - _$ PRICE2.DAT PRICE.LIS The /NOCHECK_SEQUENCE qualifier specifies that the sequence of the input files, PRICE1.DAT and PRICE2.DAT does need not be checked. (Checking is not necessary because the records in those files are sorted on the same key and the sequence of records is correct.) 2.$ MERGE/SPECIFICATION=PAYROLL.SRT/CHECK_SEQUENCE - _$ MAY3.DAT,MAY10.DAT,MAY17.DAT,MAY24.DAT TOTAL.LIS In this example, the specification file, PAYROLL.SRT includes the /NOCHECK_SEQUENCE qualifier. The /CHECK_SEQUENCE qualifier on the MERGE command line is necessary to override the /NOCHECK_SEQUENCE qualifier in the specification file. The sequence of records in the four input files are to be checked.
|