priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Madhan,
One post...Two queries....With out Search....in Wrong Forum....
Quote: |
if i am using the following syntax it is giving me the result 15 ,whether it will be possible to find the values length i.e 4 (as in length function). |
You can do it like this.
Code: |
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES. CLASS VALID-DATA IS 'A' THRU 'Z'.
..
..
..
INSPECT VARSTR TALLYING CNT
FOR ALL VALID-DATA. |
You can also add more special characters as per your requirements in SPECIAL-NAMES clause.
Regards,
Priyesh. |
|