VMS Help
MERGE, /STABLE
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Directs records with equal keys to the output file in their input
file order. The default condition is /NOSTABLE.
Formats
/STABLE
/NOSTABLE
When the input files contain records with equal keys, those
records may not maintain the same order that they appeared in
the input file. Specifying the /STABLE qualifier arranges records
with equal keys in the order of the input files on output. If you
use this qualifier when sorting multiple input files, on output,
records with equal keys in the first file precede those from the
second file and so on.
The /STABLE and /NODUPLICATES qualifiers are mutually exclusive.
$ SORT/KEY=(POS:1,SIZ:5,DECIMAL)/STABLE PRICESA.DAT,PRICESB.DAT, -
_$ PRICESC.DAT SUMMARY.LIS
In this sort operation, records with equal keys from
PRICESA.DAT will be listed first, followed by those from
PRICESB.DAT, followed by those from PRICESC.DAT.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.