needsSOSI

The needsSOSI property is used only for a multibyte field (a field of type MBCHAR) and indicates whether EGL does a special check when the user enters data of type MBCHAR on an ASCII device. Valid values are yes (the default) and no. The check determines whether the input can be converted properly to the host SO/SI format.

The property is useful because, during conversion, trailing blanks are deleted from the end of a multibyte string to allow for insertion of SO/SI delimiters around each substring of double-byte characters. For a proper conversion, the form field must have at least two blanks for each double-byte string in the multibyte value.

If needsSOSI is set to no, the user can fill the input field, in which case the conversion truncates data without warning.

If needsSOSI is set to yes, however, the result is as follows when the user enters multibyte data:

Set needsSOSI to yes if the user's ASCII input of multibyte data may be used on a z/OS® or iSeries™ system.

Related concepts
Text forms

Related reference
Validation properties
validationFailed()
DataTable part in EGL source format
verifyChkDigitMod10()
verifyChkDigitMod11()

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.