DFH7269I S RIGHT MARGIN ENCOUNTERED WHILE SCANNING DOUBLE BYTE CHARACTERS. A SHIFT-IN CODE IS ASSUMED.
Explanation
The translator is validating DBCS data in the input program, either because this is a COBOL program and the translator option DBCS is in effect, or because this is PLI program and the GRAPHIC option is in effect, or because this is a C or C++ program.
When this message is issued, the translator is scanning a DBCS string and has reached the right hand margin of a line, but has not found a shift in character. The compilers require each DBCS string to be contained on a single line within the program.
System action
For programs written in COBOL and PLI, the translator substitutes either the last or the penultimate character in the line with a shift in character, ensuring that an even number of characters are positioned between the shift out and shift in.
In the following examples, < represents shift out, > represents shift in and '.' represents x'42'. If a line ends with the following data characters -
<.A.B.C.D
the translator converts the string to -
<.A.B.C>D
If a line ends with following data characters -
<.E.F.G.
the translator converts the string to -
<.E.F.G>
For programs written in the C languages, the translator assumes the existence of a shift in character at the right margin, but copies the incorrect data string into the translated program.
User response
Although the translated program may be syntactically correct, the data string is probably incorrect for the application's purposes.
Examine the incorrect data and make appropriate changes to the program and rerun the translation step.
Module
Destination
SYSPRINT