What does the IS NUMERIC clause establish ?

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


Please Help Members By Posting Answers For Below Questions

How do u write test cases?

1638


what happens if parmparameter passes zero bytes to the program

1667


what is search and searchall?what is the diffrence between them?give an best example?

5558


What is inspect in cobol ?

801


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?

6829






How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


How you can characterize tables in cobol?

718


Write the code implementing the perform … varying.

646


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


HOw can I get the negative sign while deduct high value from low value

1790


) how do u code after getting data?

1580


how do you reference the ksds vsam file formats from cobol programs

666


When is inspect verb is used in cobol?

675


What is the difference between goback, stop run and exit program in cobol?

927