Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
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-litera
l ] } ]
[ { 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.










