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
What is the difference between PIC 9.99 and 9v99 in COBOL?
Difference between array and sub-script ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do you reference the fixed block file formats from cobol programs
What are the different rules for performing sort operation?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
how to move the records from file to array table. give with code example
How many sections are there in data division in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
Difference between cobol and cobol-ii?
What is difference between static and dynamic call in cobol?
What is inspect in cobol ?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?