Use this field-, record-, or file-level keyword to define the leading attribute of the field that changes to a specified attribute whenever the cursor is located in the field. When defined at both the field- and record-level, the field-level specification is used for the field. The ENTFLDATR keyword is ignored when the work station is not attached to a controller that supports an enhanced data stream.
The format of the keyword is:
ENTFLDATR[([color] [display attribute] [cursor visible])]
The parameters are optional for the keyword.
The color parameter specifies the color the field will change to when the cursor enters the field on a color work station. The parameter is specified as an expression of the form (*COLOR value).
The valid values for the color parameter are:
If the color parameter is not specified, the default is white.
The display-attribute parameter specifies the display attributes of the field when the cursor enters the field. The parameter is specified as an expression of the form (*DSPATR value1 <value2 <value3...>>).
The valid values for the display attributes are:
The default display attribute is HI.
The cursor visible parameter allows the user to specify if the cursor is visible or invisible when it enters the field. *CURSOR means the cursor will stay visible and *NOCURSOR indicates that the cursor will become invisible when it enters the field. *CURSOR is the default. When *NOCURSOR is specified on the ENTFLDATR keyword, the specified field must have an I (inhibit keyword entry) in position 35. If the field does not have data type I, than the default is used for the visible cursor parameter.
The field containing the ENTFLDATR keyword must be an input-capable field. The ENTFLDATR keyword is ignored for the field with DSPATR(PR).
Option indicators are valid for this keyword.
If the ENTFLDATR keyword is specified with the EDTMSK keyword, you may have unpredictable results.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.