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 literals?
What rules are followed by the search verb.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
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.
What is comp-1 and comp-2?
In COBOL programming, what is PERFORM? What is VARYING?
How you can read the file from bottom?
IF I mention stop run in CICS what happens?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What type of SDLC u followed? Why?
Explain how you can characterize tables in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
How do u write test cases?
what is difference between cobol and cobol/400
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?