Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-29
MBCS_FORMAT_ITI_BUFFER_ Procedure
is the address of an extended pointer to the source text string to be formatted.
Upon return from the format function, this pointer is advanced to point to the byte
following the last byte in the source string that was successfully processed by the
format ITI buffer operation.
destination-string input, output
INT(32) .EXT:ref:1
is the address an extended pointer to the location to receive the formatted text
string. Upon return from the format function, this pointer is advanced to point to
the byte following the last byte in the destination string that was filled by the format
ITI buffer operation.
source-length input
INT:value
is the length, in bytes, of the source text string.
maximum-length input
INT:value
is the maximum allowable number of bytes of space usable in the output
destination string.
intermediate input
INT:value
is a logical flag indicating the desired format of the translated data string.
When TRUE, the translated destination text string is in an intermediate form which
yields the final EBCDIC data format after passing the HP standard ASCII/EBCDIC
translation routine. This is the normal form to use for formatting buffers which are
then displayed through the HP SNAX access method.
When FALSE, the translated destination text string is in final EBCDIC format upon
completion of this procedure.
terminal-type input
INT:value
indicates the terminal type to receive the formatted data.
0 IBM 3274-series
1 IBM Emulation on IBM5550 with lowercase alphabet
2 IBM Emulation on IBM5550 with 1-byte Katakana
4 Fujitsu F-6650/F-6680 with lowercase alphabet
5 Fujitsu F-6650/F-6680 with 1-byte Katakana
11 IBM character attribute device with lowercase alphabet
12 IBM character attribute device with 1-byte Katakana