What R 2 of the common forms of the EVALUATE STATEMENT ?
Answer Posted / 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 |
Post New Answer View All Answers
What are the different data types in cobol?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between perform … with test after and perform … with test before?
What are 77 levels used for?
What are the pertinent COBOL commands?
How many sections are there in data division in COBOL?
What is the compute verb? How is it used?
what is search and searchall?what is the diffrence between them?give an best example?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
For rewrite, why is it mandatory that file needs to be opened?
In COBOL, what is the different between index and subscript?
Name some of the examples of COBOl 11?
A table has two indexes defined. Which one will be used by the SEARCH?
Write a program to explain size error.