Answer Posted / smijo
incase u redefine X(9) to 9(9).. and if value of x(9) is 'AAAAA' , then if you display the redefined numeric variable it will also show 'AAAAA'. so to check the numeric variable actually contains numeric data like 9999 you can use IS NUMERIC.
if X(9) contains 999999999 then ur if variable is numeric will be true
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How do u write test cases?
what happens if parmparameter passes zero bytes to the program
what is search and searchall?what is the diffrence between them?give an best example?
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?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How you can characterize tables in cobol?
Write the code implementing the perform … varying.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
HOw can I get the negative sign while deduct high value from low value
) how do u code after getting data?
how do you reference the ksds vsam file formats from cobol programs
When is inspect verb is used in cobol?
What is the difference between goback, stop run and exit program in cobol?