How To Separate The Numerics From An Alphanumric Data Item
Which Contains Both Alphabates And Numerics ?
Answer Posted / kingmanish
Use the COBOL keyword ISNUMERIC.
This would be evaluated to true if the value stored is
numeric and you can separate the numeric values
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Are you comfortable in cobol or jcl?
What is the difference between goback, stop run and exit program in cobol?
What are the different rules for performing sort operation?
What is a scope terminator give example?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Name the sections present in data division.
What is link edit in cobol?
How do you define a variable of comp-1 and comp-2?
Write the code implementing the perform … varying.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is comp-1 and comp-2?
What are declaratives and what are their uses in cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
HOw can I get the negative sign while deduct high value from low value
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.