Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


SOSI

The SOSI option affects the treatment of values X'1E' and X'1F' in literals, comments, and DBCS user-defined words.

SOSI option syntax
Read syntax diagramSkip visual syntax diagram   .-NOSOSI-.  
>>-+--------+--------------------------------------------------><
   '-SOSI---'  
 

Default is: NOSOSI

Abbreviations are: None

NOSOSI
With NOSOSI, character positions that have values X'1E' and X'1F' are treated as data characters.

NOSOSI conforms to Standard COBOL 85.

SOSI
With SOSI, COBOL for Windows shift-out (SO) and shift-in (SI) control characters delimit ASCII DBCS character strings in COBOL source programs. The SO and SI characters have the encoded values of X'1E' and X'1F', respectively.

SO and SI characters have no effect on COBOL for Windows source code, except to act as placeholders for host DBCS SO and SI characters to ensure proper data handling when remote files are converted from EBCDIC to ASCII.

When the SOSI option is in effect, in addition to existing rules for COBOL for Windows, the following rules apply:

In general, host COBOL programs that are sensitive to the encoded values for the SO and SI characters will not have the same behavior on the Windows-based workstation.

related tasks
Handling differences in ASCII DBCS and EBCDIC DBCS strings


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)