Rational Developer for System z

File truncation warning

The System z® LPEX Editor, COBOL Editor, and PL/I Editor provide a file truncation warning when you attempt to save a remote file containing lines that exceed the file's record length limit.

Whenever you save a file in the System z LPEX Editor, COBOL Editor, or PL/I Editor, it checks for any lines that exceed the record length limit. If any lines exceed the limit, a window opens warning you that these lines will be truncated if the file is saved. Click Yes to continue with the file save operation or No to return to the editor to fix the lines in question. The editor positions the file at the first line that exceeds the record length limit.

To quickly find lines that exceed the record-length limit, you can enable the visual indicator for record boundary. See the related topics for more information.

Restriction: The file truncation warning does not account for double-byte character set conversion. If you edit a file encoded in a double-byte character set, then the file truncation warning may not appear when the saved text exceeds the record length.

Feedback