Comparing remote files
You can compare up to three different files on a remote system and copy changes between the files.
The Text Compare editor uses the Eclipse text editor to compare
two files. You can set preferences for text comparisons by using the
Compare/Patch preference settings. To open this preference page, click General list
item and click Compare/Patch. Using the settings
on this page, you can, for example, select the Ignore white
space option to control whether white-space changes are
shown in the compare viewer. You can also set language-specific preferences
for comparing JCL files.1 For more information
about setting text comparison preferences, see the related links.
, then expand the When you compare remote files from the Remote
Systems view,2 the compare
editor performs several file checks to ensure that the files you are
comparing are fundamentally compatible:
- It checks the record format and record length parameters of the two files and displays a warning if these parameters are different. You have the option of continuing with the comparison or canceling it.
- If you edit either file, it checks the length of each record, and, when you save the file, warns you if any record exceeds the maximum record length.
- If you attempt to save a file with records that exceed the maximum record length, it warns you that the records are truncated and gives you an opportunity to correct the records. The warning message includes detailed information about line numbers that exceed the maximum record length.
- It checks whether either file is locked. Locked files are opened in read-only mode.
- Files that contain characters that cannot be transferred from the remote system to the local system and back with the given remote and local code pages are opened as read-only.
To compare files on a remote system, do these steps:
1 For IDz users, you can also set language-specific
preferences for comparing COBOL and PL/I files.
2 For IDz users, you can also compare remote
files from the z/OS Projects view.
3 For IDz users,
you can also select the files from the z/OS Projects view.
4 For
IDz users, the compare function uses the Eclipse text editor rather
than the z Systems® LPEX
Editor, so capabilities that are available when you edit remote files
by using z Systems LPEX
Editor, are not available.
5 For IDz users, the MVS Files subsystem Properties view also displays the following information:
- Property Group Name
- The name of the property group that is associated with the subsystem.
- Property Group Overrides
- Whether any values in the property group were overridden: Yes or No.
6 For IDz users, you can also set language-specific preferences for comparing COBOL and PL/I files from the menu bar.
7 For IDz users, you can also set language-specific preferences for comparing COBOL and PL/I files from the menu bar.