What does the IS NUMERIC clause establish ?
Answers were Sorted based on User's Feedback
Answer / jana.gadi
IS NUMERIC CLAUSE is used to test wheather the given
identifier is numeric or not
Is This Answer Correct ? | 28 Yes | 0 No |
Answer / 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 |
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
What are options have been removed in COBOL 11?
9(2).99 how many bytes take? Why . consider as a byte?
what is Pic 9v99 Indicates?
how do u indetify files succesfully executed or not ?
)what is retrieve?
diffrence between renames and redifnes with examples
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is report-item?