Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
5-29
Input-Control Character Clauses
Input-Control Character Clauses
Input-Control character clauses are for terminals operating in conversational mode.
These clauses define the characters used during the execution of an ACCEPT statement
to perform the following:
•
Delimit a screen field or a group of screen fields described with an OCCURS clause
•
Terminate or abort the processing of an ACCEPT statement
•
Restart the processing of an ACCEPT statement
These clauses, which are used only by terminals that are running in conversational
mode, have the following syntax:
The following example illustrates the input-control character clauses:
SCREEN SECTION.
01 CUSTOMER-REC-SCREEN BASE SIZE 24, 80
FIELD-SEPARATOR "," (1)
GROUP-SEPARATOR OFF
ABORT-INPUT "AI" (2)
01 screen-name { [ BASE ] [ SIZE clause ] }
{ OVERLAY SIZE clause }
[ ABORT-INPUT [ IS ] { "nonnumeric-literal" } ]
[ { numeric-literal } ]
[ { [, numeric-literal ] } ]
[ { OFF } ]
[ END-OF-INPUT [ IS ] { "nonnumeric-literal" } ]
[ { numeric-literal } ]
[ { [, numeric-literal ] } ]
[ { OFF } ]
[ FIELD-SEPARATOR [ IS ] { "nonnumeric-literal" } ]
[ { numeric-literal } ]
[ { OFF } ]
[ GROUP-SEPARATOR [ IS ] { "nonnumeric-literal" } ]
[ { numeric-literal } ]
[ { OFF } ]
[ RESTART-INPUT [ IS ] { "nonnumeric-literal" } ]
[ { numeric-literal } ]
[ { [, numeric-literal ] } ]
[ { OFF } ]
Note. Programs using double-byte data must use only single-byte (ASCII) characters to define
input-control clauses.