COMP Compare

SA=num1 Synchronisation Attempts. When processing the COMP function, there is always an attempt made, following any difference, to find the longest synchronisation point, i.e. the largest possible number of matching sequential records in the name1 and name2 files. The search for the optimum synchronisation point is terminated after num1 successful synchronisation points have been found. The longest of the successful points is taken as the optimum synchronisation point. This parameter is only relevant if synchronisation (see parameter S=Y, page 7-) is activated.

The value of this parameter has a decisive influence on the CPU time needed for the comparison. For further information, see the notes below.

The value SA=0 causes there to be no restriction placed on the number of attempted synchronisation points. This means that "better" synchronisation points will be sought until the end of the file name2 is reached, or until the restriction placed by the SL=num3 parameter (see below), is reached.

The parameter SA= can be entered in the "Number of synchronisation-attempts" field in the compare mask.

Standard: SA=5.