Field Exit, Field+ and Field-
Why the 5250 Field Exit key matters in input fields and how it differs from Tab.
In a 5250 input field, Tab and Field Exit are different keys.
Tab and Field Exit
Tabmoves the cursor to the next field. The characters you typed stay as they are. Characters to the right of the cursor stay too.Field Exitends the field at the cursor. It clears everything from the cursor to the end of the field and moves to the next field.
If you type ABC in a field of ten characters and press Tab, the field holds ABC and whatever was in positions 4 to 10 before. After Field Exit, positions 4 to 10 are blank.
Numeric fields
Number fields are often declared as right adjust with zero fill or blank fill. Field Exit is what triggers the fill:
- After typing
12into a six-digit zero-fill field,Field Exitgives000012. - With blank fill you get four spaces then
12.
Without Field Exit, the digits stay where they were typed.
Field+ and Field-
Signed numeric fields use the sign for the number.
Field+ends the field and marks it positive.Field-ends the field and marks it negative. It shows as a minus sign.
In a field that does not accept a sign these keys do nothing, or the keyboard locks.
If an input is refused
Press Reset. Then check whether the field expects digits only (numeric only) or letters (alpha only).
Dup and Erase Input
Dupis a special key some applications use in lists.Erase Inputclears every input field on the screen.
Where to find these keys
On a PC keyboard Field Exit is usually a numeric keypad key or a Ctrl combination, and Field+ and Field- are usually the keypad + and -. The mapping depends on the client, so check its keyboard list.