Duplicate; End-Of-Job; Enter/Record Advance; Field Advance - IBM 5280 Programmer's Manual

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

Advertisement

Duplicate
End-oj-Job
Enter / Record Advance
Field Advance
Field Backspace
Pressing the Duplicate key copies characters into the field from the
corresponding field in the previous record, unless the keyword CHECK(DD)
(for duplicate disable) has been specified for the corresponding field
description statement.
Pressing the CMD key followed by the End-of-Job key closes all files and ends
program execution. The operator is then prompted to load a program.
Pressing the Enter Key has the following effect:
All edits you specify in the Data Definition Statements for all the fields
on the screen are completed.
If an error is found, a four-digit blinking error code appears in positions
8-11 in the status line at the top of the screen. See the section "Status
Line" in Chapter 8. for a description of the different types of error
codes that can appear and other related information in the status line.
If no edit error is found, your COBOL program is given control.
When the operator presses the Field Advance key, the following takes place:
Any edit function you specify in the Data Definition Statements for the
field are started.
If the edit is completed without error, the cursor moves to the next field
where the operator can enter data.
If the edit finds an error, a blinking error code will appear in positions
8-11 of the status line. The cursor remains in the right-most position of
the field.
Pressing the field advance key before the cursor reaches the last position in the
field doesn't affect any characters between the cursor and the end of the field.
If automatic enter (as described under "Auto Enter" earlier in this chapter) is
in effect, pressing the Field Advance key when the cursor is in the last position
of the record has the same effect as pressing the Enter key. That is, control is
given to the COBOL program for processing.
Pressing the Field Backspace key has the following effect:
When the cursor is in the first position of the field, the cursor moves to
the first position of the first previous field where automatic skip or
automatic duplication isn't in effect. (Automatic skip and duplication
are explained under "Auto Dup/Skip" earlier in this chapter.)
When the cursor is in a position other than the first position, the cursor
moves to the first position of the same field.
If awaiting-field-exit or awaiting-record-advance is indicated in the status
line, pressing the Field Backspace key resets the status line and returns the
cursor to the first position of the field.
1- 10
IBM 5280 COBOL Programmer's Guide

Advertisement

Table of Contents
loading

Table of Contents