# 5250 error 0010: Only characters 0 through 9 allowed

Source: https://wndsoftware.com/mainframe-errors/5250-error-0010

### 5250 error 0010: Only characters 0 through 9 allowed

5250 error 0010 means you typed something other than a digit in a signed numeric field. These fields accept only 0 to 9, with no decimal point, space or sign, so the display station locks the keyboard at the bad key.


#### Other names for this code

Also written as `0010`, `error 0010`, `5250 0010`, `operator error 0010`, `only characters 0 through 9 allowed`, `signed numeric field`, `AS/400 error 0010`.


### What it means

Shift S in position 35 of the DDS makes a field signed numeric. IBM's DDS reference says you can type only the digits 0 to 9 in it. Blanks, plus signs and minus signs are refused. So is the decimal point, because the number of decimal places is fixed by the field definition, not by what you type. Any other character locks the keyboard and puts 0010 on the error line.

The sign is given with a key, not a character. You type the digits and leave the field with Field+ for a positive value or Field- for a negative one. After Field- the minus sign shows in the rightmost position of the field. Signed numeric fields are right-adjusted with blank fill by default, so the digits move to the right end when you press the exit key.

That rightmost position is kept for the sign. If you type a digit into it, the display station gives a different code, 0011, which means the key isn't valid in the sign position. The fix is the same as for 0010. Type only the digits the field holds and finish with a field exit key.


### Common causes

- You typed a decimal point in an amount, such as 12.50.
- You typed a minus sign in front of a number to make it negative.
- You typed a space to separate digits or to blank out a position.
- You typed a letter in place of a digit, often O for zero.
- You kept typing into the last position of the field, which holds the sign. That gives 0011 rather than 0010.


### How to find the problem

- Look at the cursor. It marks where the refused character would have gone.
- Press Help while 0010 or 0011 is on the error line to see the system's text for the error.
- In the display file source, an S in position 35 marks a signed numeric field. The length in positions 30 to 34 and the decimal positions in 36 and 37 tell you how many digits it holds and how many of them are decimals.


### How to fix it

- Press Reset (also called Error Reset) to free the keyboard. In many PC emulators Reset is the left Ctrl key by default. Then type the digits only.
- Leave out the decimal point. The field's decimal places come from its definition, so in a field with two decimal places you type 1250 for 12.50 and finish with Field Exit or Field+.
- For a negative value, type the digits and leave the field with Field-. In many emulators that is the minus key on the numeric keypad.
- For 0011, press Reset, check the digits you have typed, and leave the field with Field Exit, Field+ or Field-. Don't type into the last position.
- For programmers, if users need to type decimal points and minus signs themselves, use shift Y (numeric only) instead of S, which accepts the digits, plus, minus, comma, period and space. Recreate the display file with CRTDSPF and recompile the programs that use it if the record format level changes.


### Read this error in WND Terminal

For a visible 5250 error 0010 message, [Explain this screen](https://wndsoftware.com/explain-this-screen) can help interpret the screen under IT’s configured AI policy. It does not establish the cause of a rejected host data stream. Preserve the exact status and follow the diagnostic steps in this article.

[Try the WND Terminal sample with fictional data](https://wndsoftware.com/demo#launch) · [3270 emulator features and installation](https://wndsoftware.com/3270-terminal-emulator) · [5250 emulator for IBM i](https://wndsoftware.com/ibm-i)


### IBM documentation

[IBM Personal Communications documentation](https://www.ibm.com/docs/en/personal-communications/15.0.0). Use the documentation for your installed release.

This link opens the relevant IBM reference library or lookup instructions. Match the complete code and your installed product release; it is not a code-specific review.

[Report a correction to WND Software](https://wndsoftware.com/contact#message).

Technical reviewer: [Albert Joseph](https://wndsoftware.com/authors/albert-joseph), WND Software.

Last reviewed 2026-10-18 by the WND Software team. Written in our own words. For the full reference, check IBM’s 3270 or 5250 display documentation.


### Related codes

[5250 error 0009 Field requires numeric characters Read →](https://wndsoftware.com/mainframe-errors/5250-error-0009)
[5250 error 0024 Decimal field, entry not valid Read →](https://wndsoftware.com/mainframe-errors/5250-error-0024)
[5250 error 0016 Field Minus key not valid in this field Read →](https://wndsoftware.com/mainframe-errors/5250-error-0016)
[5250 error 0020 Enter key not allowed in field Read →](https://wndsoftware.com/mainframe-errors/5250-error-0020)
[5250 error 0008 Field requires alphabetic characters Read →](https://wndsoftware.com/mainframe-errors/5250-error-0008)

### Questions


#### How do I type a negative number on an IBM i screen?

Type the digits, then leave the field with Field- instead of Field Exit. The minus sign then shows at the right end of the field.


#### Why can't I type a decimal point in this field?

It is a signed numeric field, which accepts digits only. The decimal places are set by the field definition, so type the digits without the point.


#### What does 0011 mean?

0011 means you typed into the last position of a signed numeric field, which is kept for the sign. Press Reset and leave the field with Field Exit, Field+ or Field-.

[3270 and 5250 screen errors](https://wndsoftware.com/mainframe-errors/terminal-errors) · [5250 error 0009](https://wndsoftware.com/mainframe-errors/5250-error-0009) · [5250 error 0014](https://wndsoftware.com/mainframe-errors/5250-error-0014)

[← All error codes](https://wndsoftware.com/mainframe-errors/)
