|
View previous topic :: View next topic
|
| Author |
Message |
swathi.a Warnings : 1 New User
Joined: 05 Feb 2007 Posts: 10 Location: hyd
|
|
|
|
how to check for digits in a alphanumeric field...
i have declared a field as alphanumeric but it shd accept only alphabets..
how can i chk that condition... |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What language?
O. |
|
| Back to top |
|
 |
agkshirsagar
Active Member

Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
IF it is COBOL, you can use
IS ALPHABETIC clause.
In your case you may like to use
| Code: |
IF VAR-NAME IS NOT ALPHABETIC
DISPLAY 'NON ALPHABETIC DATA FOUND''. |
|
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| Or DATATYPE in REXX |
|
| Back to top |
|
 |
|
|