Rational Developer for System z

Setting local build options for smart logical COBOL and PL/I files

About this task

By default, bidirectional-enabled projects use a setting that converts source and executable files to visual layout. This setting can cause errors if a source file contains an invisible LRM marker. When the following string is included in a COBOL program, for example, the compiler issues an error message: IGYGR1056 indicating that the literal exceeds the length specified:
Literal declaration containing bidirectional characters
Although the literal declaration is visually correct, the compiler counts the invisible LRM marker and issues the error message.

Linux icon Rational® Developer for System z® does not support local COBOL or PL/I builds. For PL/I files, Rational Developer for System z does not support local preprocessors, syntax check, or show dependencies on the Linux platform.

Procedure

To prevent this type of error, set local build options as follows:

  1. Open the Local COBOL Build Options or Local PL/I Build Options properties page.
  2. In the Environment Variables field, type the following set statement: set bidiInput=Logical. This statement prevents your source from being converted to visual format prior to compilation.

Feedback