![]() |
Exclude data fields from compare (Compare Edit)
The Compare Editor provides the facility for postediting the sample dialog captured for the Regression test. Particular messages or parts of messages (e.g. Date and Time in screen masks) can be excluded from a later comparison during the Restore.
The Compare Editor is called by a special version of the Restore command:
RES file , CE [, n]
CE The Compare Editor is activated to allow processing of the output messages stored in the LOG file. The entire output, in particular the protected fields, can be modified by the user.
Parts of the output messages can be excluded from a later comparison. This happens if the required message positions are overwritten (masked) with the '#' character.
If the entire message is to be excluded from the compare, a ';' should be written to the screen at Line 1, Column 1.
The Compare Editor process can be aborted at any time by pressing the K1 key.
In the Compare Editor the output messages stored in the LOG file are identified by an incremented number (001,002, ...).
n Id Number of message. n: 0 - 999
Entering an Id number in the RES ..,CE command will cause the Compare Editor to display the output message with that specified number directly.
Notes:
The CAP/LOW mode of the CFS basic task also operates in the Compare Editor: In CAP (=Standard) mode, lower case letters are converted to upper case. In LOW mode, lower case letters are not converted.
In screen formats it should be noted that the Compare Editor does not generally display the messages line- and column-justified. Use of the Tab key to move from one field to the other is not possible in Compare Editor Mode.
The Compare Editor is also suited to injecting differences in a later compare run. (Modification of message content).