Character Delete; Character Insert; Cursor Left; Cursor Right - IBM 5280 Programmer's Manual

Distributed data system, cobol
Hide thumbs Also See for 5280:
Table of Contents

Advertisement

Character Delete
Character Insert
Cursor Left
Cursor Right
The Keyboard
When awaiting-record-advance is indicated, pressing the Character
Backspace resets the awaiting-record-advance condition and puts the cursor in
the last position of the last preceding field in which the operator can enter
data.
Pressing the Character Delete key deletes the character at the cursor position.
The characters within the field and to the right of the cursor shift to the left
one position, and a blank is inserted in the rightmost position of the field. The
cursor position doesn't change.
In a character check type field (when you code a C in the Data Type field of
the field description statement that defines the field) the character delete
function acts within subfields only. Subfields are adjacent character positions
for which the same character type is specified in the parameter for the
keyword SHIFT.
The operator cannot use the Character Delete key when you code a blank
check - CHECK(BC) - or a mandatory fill- CHECK(MF) - in the
related Data Definition Statements.
After pressing the Character Insert key, the operator can insert characters
into a field at the current position of the cursor. (When the key is pressed a>
appears in position 14 of the status line.)
After each character is entered, all data between the cursor and the right end
of the field moves to the right one position. The operator can move the cursor
within the field by using the Character Advance and Character Backspace
keys.
After insertion, the operator must press the Reset key before exiting the field.
When a nonblank data character occupies the rightmost position of the field,
an attempt to insert a character causes an error.
If you specify character check data in the field description statement that
defines the field (a C in the Data Type field) any characters shifted to new
positions must conform to the specifications for those positions that you code
in the SHIFT keyword. Data can be shifted only within a range of positions
for which the same character type is specified in the parameter for the SHIFT
keyword. Data isn't shifted into a position for which a different data type is
specified.
You can insert characters in a hexadecimal field when an H is specified in the
Data Type field of the related field description statement. A hex entry
character requires two keystrokes. The Insert key must be pressed before the
first character is entered.
The operator cannot insert characters in fields for which you specify
mandatory fill- CHECKC,MF) - in the related field description statement.
Pressing the Cursor Left key has the same effect as pressing the Character
Backspace key.
Pressing the Cursor Right key has the same effect as pressing the Character
Advance key.
Chapter 1. Transaction I/0 - Introduction
1- 9

Advertisement

Table of Contents
loading

Table of Contents