Pathway/iTS TCP and Terminal Programming Guide

Writing User Conversion Procedures
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide426751-001
4-16
Intelligent Device Output Procedures
OUTPUT^LEN to the new length. In no case should OUTPUT^LEN be greater
than MAX^OUTPUT^LEN. OUTPUT^LEN can vary from the user-defined length
in cases of delimited-format messages.
MAX^OUTPUT^LEN
represents the maximum possible length of the particular converted output field.
This value should be used to control the maximum amount of data moved to
OUTPUT.
INTERNAL
points to the data to be converted. The procedure converts this data and stores it in
OUTPUT.
INTERNAL^SCALE
is a parameter in the numeric procedure only. It contains the number of decimal
places in INTERNAL when INTERNAL is a FIXED field.
INTERNAL^LEN
is a parameter in the alphanumeric procedure only. It contains the number of
characters in INTERNAL when INTERNAL is a STRING field.
FILL^CHAR
is always set to either 0 (for numeric conversions) or blank (for alphanumeric
conversions) by the TCP.
FILL^OFF
is always set to -1 by the TCP.
RIGHT^JUSTIFIED
contains -1 (TRUE) if an alphanumeric value is to be right justified and contains 0
(FALSE) if the data is not to be justified.