ASNA WingsRPG™ Reference Manual

5250 Terminal Error Codes

5250 Error Beep

The 5250 Terminal Emulator will (much like a standard Terminal or any particularly good emulator) generate a "beep" sound whenever a user attempts to an invalid input. There are a couple of important considerations that can prevent the "beep" sound effect from working.

  1. The "beep" uses HTML5's <audio> tag, and therefore will not work on older browsers which do not support the <audio> tag (IE 8 or older, Safari 4.x or older, Chrome 17 or older, Firefox 10 or older)
  2. Firefox versions that do support the <audio> tag (11 and higher) have still other considerations relevant to Wings:
    • Sound does not play under the IIS development server (Cassini)
    • Firefox does not support sound in the .mp3 format, but does support the Open Source, Vorbis .ogg format. However, by default, IIS is not not configured to use .ogg files. To adjust IIS to use .ogg files, see the instructions in MSDN's article on adding a MIME type, and use ".ogg" for the extension and "application/ogg" for the type.

5250 Error Codes and Solutions

The Wings 5250 Emulator uses the same error codes as a standard 5250 terminal, but a listing of the more common ones follows:

Error Code Description Recovery Action
0004

Entry of data not allowed in this input/output field.

Press Reset or move the cursor to a field where keyboard data can be entered.
0005 Cursor in protected area of display.
To enter data, the cursor must be in an input field on the display. Data cannot be entered in a protected area of display.
Press Error Reset key. Move the cursor to a field where the data can be entered and then enter the data.
0006 Key pressed following System Request key was not valid.
Either the Enter/Receive key, or Error Reset key must be pressed after the Shift key and System Request key.
Press the Error Reset key. If system request function required, press Shift key, System Request key, and Enter/Receive Advance key.
0007 Mandatory data entry field. Must have data entered.
Data must be entered in mandatory data entry field on the display before the display can be changed or moved.
Press Error Reset key. Cursor is now at the first character position in the first mandatory enter field that is not filled. Enter the required data in this field.
0008 Field requires alphabetic characters. A character that was not alphabetic was entered. Valid characters are, A through Z, blank, comma, period, hyphen, and Duplicate key (if the Duplicate key is supported by the executing program). Press Error Reset key to continue.
0009 Field requires numeric characters.
A character that was not numeric was entered. Valid characters are, zero through nine, blank, comma, period, plus, minus, and Duplicate key (if the Duplicate key is supported by the executing program).
Press Error Reset key to continue.
0010 Only characters 0 through 9 allowed.
Signed numeric data was not entered. Valid characters are zero through nine and Duplicate key (if the Duplicate key is supported by the executing program).
Press Error Reset key to continue.
0011 Key for sign position of field not valid.
Data not allowed in last position of signed numeric field which is sign position.
Press Error Reset key and valid key for sign position (Field+ or Field- key).
0012 No room to insert data.
No room in field or cursor in last position of field during the insert mode.
Press Error Reset key to continue. Do not use insert mode to change data or enter last character in field.
0013

During insert mode, only data keys allowed.
Key that was pressed was not data.

Press Error Reset key. For insert mode press Insert key.
0014 Mandatory fill field. Must fill to exit.
Key pressed that moved cursor from field. The field must be filled unless you exit from first position and no other data entered in field.
Press Error Reset key. Enter data in entire field or press Field-, Field+, or Field Exit key to blank entire field.
0015

Check digit error.
The number and check digit did not agree.

Press Error Reset key. The cursor is at beginning of field. Enter correct number and check digit or press Field Plus, Field Minus, or Field Exit key to clear field.
0016

Field Minus key not valid in field.
Field where data entered not signed numeric field.

Press the Error Reset key to continue operation at present cursor position. Continue entering data or press Field Exit key to leave field.
0017 This field must be filled before exiting. Key used not valid.
Field-, Field+, or Field Exit key pressed. This field must be filled unless the field is exited from first position and no data entered.
Press Error Reset key. Cursor positioned to continue entering data in field. Enter data to the end of field or position the cursor to beginning of field and press Field-, Field+, or Field Exit key to blank entire field.
0018 The key used to exit field not valid.
Cursor is in the last position of the field.
Press the Error Reset key and the Field Exit key to leave the field.
0019 Duplicate key or Field Mark key not allowed in field.
The DUP or Field Mark key was pressed and is not allowed in this field.
Press Error Reset key to continue entering data in the field.
0020 Enter key not allowed in field.
The field is either right-adjust or a signed numeric field. Exit before pressing command keys, Test, Clear, Enter/Adv, Print, Help, Roll, or Home keys.
Press Error Reset key and Field-, Field+, or Field Exit key.
0021

Mandatory enter field must have data entered.
Mandatory enter field must have data entered before exiting the field.

Press Error Reset key and continue entering data in field.
0026

0-9 required for last position of numeric-only field.

Press Error Reset key to continue.
0060

Double-byte character required as input.

Use "Esc" key to Reset error and Enter double-byte data or move the cursor to an alphanumeric field.
0061

Field data must be alphanumeric (not DBCS).

Use "Esc" key to Reset error and enter alphanumeric data or move the cursor to a DBCS field.

See Also

Keyboard Mapping
Keyboard Macros
Customizing Terminal Branding
Resizing the Terminal
Terminal Menus