The tool "Compare Files" opens two files in an Eclipse compare editor. The tool can be modeled to compare the two files (read only) or to merge them into one file (edit).
Attribute | Type | Description |
---|---|---|
Compare Type [M] | Selection | Valid values are:
The Simple Compare type needs two file input parameters, whereas Compare with Each Other works on two selected AWM elements. |
Parameter Name | I/O | Type | Description |
---|---|---|---|
Left File [M] | I | File | File input parameter pointing to the first file to compare (left side in the compare editor). |
Right File [M] | I | File | File input parameter pointing to the second file to compare (right side in the compare editor) |
Edit [O] | I | Boolean | Whether the first file should be opened in edit mode; if edit mode is set to true, the first file must either be a workspace or a z/OS (MVS_PO_Member or MVS_SEQ) file. |
Parameter Name | I/O | Type | Description |
---|---|---|---|
Left/Right File [M] | I | File | File input parameter pointing to the files to be compared. |
If using Compare with Each Other, two AWM elements must be selected at run time and the following modeling is required to support this compare type:
The following rules also apply in this scenario: