CURSOR Clause Considerations

At the start of an extended ACCEPT operation, if data-name-1 contains a value that is a valid character position on the screen, that position is used as the initial position for the cursor. A valid position is a coordinate that lies on the screen (that is, within the range from line 1, column 1, to line 24, column 80). After the ACCEPT operation, if the position in data-name-1 was valid, data-name-1 is updated to show the position of the cursor at the end of the operation.

If the CURSOR IS identifier contains an invalid value (such as spaces, low-values, high-values or a value outside of the screen range), the cursor is positioned at the start of the first input field that is active on the screen.

CURSOR IS has no effect on the positioning of fields on the screen.