Pathway/iTS TCP and Terminal Programming Guide
Programming for Specific Terminals
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide—426751-001
3-15
Designating Conversational Terminals
•
Responds to a set of input-control characters when the terminal is enabled to accept
data
•
Recognizes only keyboard characters, carriage returns, and line feeds (not function
keys)
•
Restricts the display field attributes to BELL and HIDDEN
Designating Conversational Terminals
You designate a conversational terminal by specifying the following clause in the
OBJECT-COMPUTER paragraph of the Environment Division:
TERMINAL IS CONVERSATIONAL
This clause causes a terminal to operate in conversational mode regardless of the
terminal type. Program units compiled for conversational mode can be run on 652x
series, 653x series, 654x series, and IBM 3270 terminals or on any other device that the
file system recognizes as operating as a conversational-mode terminal.
The available screen field attributes for conversational terminals are: BELL, HIDDEN,
NOBELL, and NOTHIDDEN.
Error enhancement is available only for the first field found to be in error. If additional
fields are specified, they are ignored. BELL is the applicable error enhancement for
conversational terminals. You must explicitly specify ERROR-ENHANCEMENT IS
BELL to have error enhancement.
Input Control Characters
The Screen Section has input-control entries available for terminals in conversational
mode. These clauses define the specific input-control characters to be used during
execution of an ACCEPT statement. The clauses are as follows:
•
ABORT-INPUT defines the characters used to terminate the processing of the
current ACCEPT statement with an abort termination status.
•
END-OF-INPUT defines the characters used to indicate the end of the last input
field for the current ACCEPT statement. If used, the END-OF-INPUT clause must
be specified at the 01 screen level. A character defined for END-OF-INPUT cannot
be specified for another input-control character.
•
FIELD-SEPARATOR defines the character used to separate one screen field from
another during an ACCEPT statement. If a screen field description includes an
OCCURS clause, each occurrence is treated as one field.
•
GROUP-SEPARATOR defines the character used during the processing of an
ACCEPT statement to mark the end of the last item in an OCCURS clause or the
last field of a group declaration that does not contain an OCCURS.
•
RESTART-INPUT defines the characters used to restart input processing during the
current ACCEPT statement.