View previous topic :: View next topic
|
Author |
Message |
sm_2009
New User
Joined: 10 May 2009 Posts: 72 Location: bangalore
|
|
|
|
hi all
i have declared a variable as var1 pic 9(9) value zeroes.
it should be always 9 digits.
i have to validate the keyed input value as 9 digit not less than this.
how can i check...pls suggest |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Code: |
IF VAR1 NOT NUMERIC
<put error message>
ELSE
IF VAR1 < 100000000
<put error message> |
|
|
Back to top |
|
|
|