wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
Answer Posted / neo devan
Evaluate verb is one of conditional statement used in cobol.
It is used whenever there are many conditions to check, its
used instead of nested if statements.
The syntax : evaluate true
when name="Robert" display "Robert".
when name="Langdon" display "Langdon".
end evaluate.
evaluate fname also lname
when "Robert" also "Langdon"
display "Robert Langdon".
when "Leonardo" also "Da Vinci"
display "Leonardo Da Vinci".
end evaluate.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Define static linking and dynamic linking.
What is the difference between external and global variables in COBOL?
What are literals?
What are the different data types in cobol?
What is the usage of comp fields in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
what is search and searchall?what is the diffrence between them?give an best example?
IF I mention stop run in CICS what happens?
Which Search verb is equivalent to PERFORM…VARYING?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do get the result of your program directly on your pc?
What is difference between static and dynamic call in cobol?
What are the different rules for performing sort operation?
What are 77 levels used for?