Rational Developer for System z, Version 7.6

Importing a COBOL file that contains DBCS data

If you import a COBOL file that contains double-byte character set (DBCS) data, the result might be unpredictable.

Problem

If the SOSI option is disabled and you import a COBOL file that contains DBCS data, corrupt SOSI characters might be imported from the COBOL file. This occurs because SO and SI characters are treated as data characters when the SOSI option is set to NOSOSI.

Solution

Before importing the COBOL file, enable the SOSI option. Expand Preferences > Importer > COBOL > More COBOL options > SOSI.

This applies only to the SO and SI characters that delimit DBCS data in the COBOL source file. SO and SI characters that do not delimit DBCS data are not placed in the generated runtime code.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)