If this clause is specified at group level, it applies to all elementary subordinate items.
Identifier-1 must be an alphanumeric data item. The maximum permitted size of the item is PIC X(65535).
Attributes specified in identifier-1 override any statically defined attributes.
CONTROL statements must not be nested.
The PROTECT attribute may be specified only for an elementary screen description entry.
General Rules
When an ACCEPT or DISPLAY statement is executed that implicitly or explicitly references the subject of this entry, the contents of the data item referenced by identifier-1 must conform to the following subset of the screen attributes which can be specified elsewhere:
If identifier-1 contains spaces, the statically defined attributes are used for any accept or display of the item.
The meaning of each of the attributes that can be specified within the CONTROL identifier-1 is defined in the following parts of this reference:
Within the Data Division as an individual Screen Section clause
AUTO-SKIP/AUTO
BACKGROUND-COLOR/BACKGROUND-COLOUR
BELL/BEEP
BLANK LINE/SCREEN
BLINK
FOREGROUND-COLOR/FOREGROUND-COLOUR
FULL/LENGTH-CHECK
GRID
HIGHLIGHT
JUSTIFY/JUST
LEFTLINE
LOWLIGHT
OVERLINE
PROMPT
REQUIRED/EMPTY-CHECK
REVERSE-VIDEO
SECURE/NO-ECH0
UNDERLINE
ZERO-FILL
Within the Procedure Division in the ACCEPT statement General Rules:
RIGHT-JUSTIFY
TRAILING-SIGN
TRAILING
Within this CONTROL clause discussion:
PROTECT
The PROTECT attribute specifies that input to an ACCEPT item is to be prevented.