a map record field is defined as numeric eg:PIC 9(2).
If i dont select the NUMERIC DATA ONLY prorperty in DEVICE DEPENDENT OPTIONS (5 of 7) screen in MAPC, why is the IN ERROR set to true when I give alphanueric input??
NUMERIC DATA ONLY option is used to restrict the user to input only "Numeric Values" in to the screen. You cannot enter alphabets or alphanumeric values. ADS will actually do the checking for you at the run time. ADS will flash out "IN ERROR" message if you input other than numbers.
Though it is useful it is advisable to programmatically check the inputs and flash out appropriate message, which the user can understand rather than the cryptic message as above from the ADS.