Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-19
MBCS_EXTERNAL_TO_TANDEM_Procedure
intermediate input
INT:value
is a logical flag indicating the optional forms of the source data string.
For translations from an EBCDIC type of data format, this parameter is interpreted
as follows:
When TRUE, the source text string is in an intermediate form which must be
further processed to yield the correct ASCII/JIS format for one-byte characters.
An example of this is data from IBM Katakana devices which has already been
through the HP “universal” EBCDIC/ASCII conversion.
When FALSE, the source data string is still in EBCDIC format. It has not been
through the HP universal EBCDIC/ASCII conversion.
For translations from a format containing JIS standard Kanji and a JIS or ASCII-like
one-byte character set, this parameter is interpreted as follows:
When TRUE, the source text stream is in shift-in/ shift-out (SI/SO) format.
Conversion of the source text stream begins in shift-in state. ASCII SI/SO
characters that frame data character sub-strings are removed and each byte
whose byte value is greater than octal 40, in the SI/SO framed substrings, has
the high-order bit turned on.
When FALSE, the source text stream is in eight-bit data format. SI/SO
processing is not done.
external-form input
INT:value
indicates the format of the source text stream:
IBM external formats
Data stream without substring frames
0 IBM Kanji only (without subfield strings)
Data stream using SO/SI substring frames
1 IBM Kanji EBCDIC
2 IBM Kanji/Katakana-EBCDIC
Data stream using character attribute substring framing
(IBM 3270 data stream only)
11 IBM Kanji EBCDIC
12 IBM Kanji/Katakana-EBCDIC