What R 2 of the common forms of the EVALUATE STATEMENT ?
Answer / scott
You can evaluate TRUE or FALSE conditions or you can
interigate the value of a field
1)
EVALUATE TRUE
WHEN A = 1
PERFORM SOMETHING
WHEN A = 2
PERFORM SOMETHING ELSE
END-EVALUATE
2)
EVALUATE A
WHEN 1
PERFORM SOMETHING
WHEN 2
PERFORM SOMETHING ELSE
END-EVALUATE
Is This Answer Correct ? | 15 Yes | 2 No |
What is static and dynamic call in cobol?
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?
What are the various section in data division and briefly explain them.
what is the minimum number of lines a Cobol program should have to successfully compile and run
Can we use redefine clause in occurs clause?
how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?
What is the difference between perform … with test after and perform … with test before?
What is the difference between performing a SECTION and a PARAGRAPH?