HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 6 245
USING VPLUS INTRINSICS
COMMUNICATION AREA
the programmer wishes to enable the AUTOREAD, the following statement
should be issued in COBOL:
ADD 2 TO TERM-OPTIONS.
Conversely, if disabling the AUTOREAD feature, the programmer should
subtract 2 from
termoptions
. For more information on the AUTOREAD feature,
please consult Appendix G.
environ
First byte is the logical device number of the terminal. The remaining byte
is reserved for system use.
usertime
If enabled, the value in this position is used as the number of seconds to
wait for either
ENTER or a function key to be pressed. Consult Appendix G
for more information regarding enabling user timeouts.
identifier
VPLUS identifier for the terminal model being used. See Appendix G for
the interpretation of the contents of this word.
labinfo
First byte is the length of key labels (in bytes); Second byte is the number
of key labels that VPLUS uses on the terminal.
buffercontrol
Controls the ARB options. The bit settings are as follows:
Bit
15 (ARB option)
0 = return data "raw": no reordering or conversion.
1 = reorder and convert data according to ARB specifications.
The remaining bits must be set to zero. Note that VGETBUFFER will not
change these settings (see Section 6, VGETBUFFER, for special
considerations).
bufferstatus
Return parameter indicating that VGET/PUTBUFFER performed the data
conversion successfully (but 15 in offset 65 will be set to 1).
NOTE
STATUS in the
COMAREA
will be non-zero if the conversion is not successful.
In addition to the above
comarea
descriptions, the data capture devices use the following
items:
Parameters
splitpause
Length of time in seconds to pause between the presentation of lines of
text on the single line alpha display. Default is 3 seconds.
• -1 - wait for user to press key
• 0 - do not pause
• >0 - pause specified number of seconds
leftmodule
MPE determines which, if any, module is present.
• 0 - no module
• 1 - printer