Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-25
MBCS_FORMAT_CRT_FIELD_ Procedure
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 CRT field is in pre-EBCDIC format. This is
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 CRT fields which are then displayed through the HP SNAX access
method.
When FALSE, the translated destination CRT field is in final EBCDIC format upon
completion of this procedure.
terminal-type input
INT:value
indicates the terminal type to receive the formatted data.
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
last-column input
INT:value
indicates the width in columns of the display device.
max-data-size input, output
INT .EXT:ref:1
on input, contains an integer indicating the maximum number of displayable
characters that can be held by the destination screen field. This value does not
include the attribute byte.
on output, contains the byte count (length) of the translated data in the destination
CRT field.