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 |
can we read records in a file from botom to top. if possible how can we read
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
If we use GO BACK instead of STOP RUN in cobol?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
how to check whether the open command of a sequential file is successful? or not?
Define static linking and dynamic linking.
what is the difference between implicit and explicit scope terminator with example?
consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
Write down the divisions of cobol program?
what happens when a copybook variables are declared using include statement ?
What is binary search?