![]() |
COMP Compare
S= Y | N: Synchronisation: Yes | No.
Y Carry out the comparison with synchronisation. When encountering a difference, synchronisation will be sought in the following way: the whole of file name2 will be searched for a consecutive block of num1 records (see parameter SR=xx, page 7-) which match the next records in file name1. This mode is only possible for SAM / ISAM files. For PAM files, the Y operand is ignored. The synchronisation can also be performed on predefined synchronisation fields in the data records. For further information, see the F=s-fld parameter on page 7-.
N The comparison will proceed without synchronisation. The two files will be compared on a 1 to 1 basis. To speed up the comparison still further, the parameter T2 can be set in the Record Printing field. In this case, the comparison run is terminated after encountering the first inequality. If RP=T2 is not given, the two files will be compared to the end, and all differences saved to the comparison log file.
The parameter S= can be entered in the "Synchronisation" field of the mask.
Standard: S=Y for SAM /ISAM files, S=N for PAM files.