View previous topic :: View next topic
|
Author |
Message |
sairam
New User
Joined: 30 Aug 2005 Posts: 58 Location: Kolkata
|
|
|
|
Hi,
What is the built in function for checking a variable numeric or not in pL1,
Is isnumeric(in Cobol) works here? |
|
Back to top |
|
|
b_ravieee
New User
Joined: 13 Feb 2006 Posts: 2
|
|
|
|
I think we have to Use Verify Command.
For eg if u want to check the Content of VAR_1 is Numeric or Not,Then
Verify (VAR_1,'0123456789') = 0
If the VAR_1 is Numeric then value after this verify will return '0' |
|
Back to top |
|
|
|