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
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is rmode(any) ?
What are the pertinent COBOL commands?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Have you used comp and comp-3 in your project? And how?
what happens if parmparameter passes zero bytes to the program
What are the different rules for performing sort operation?
What is a report item?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Explain what you understand by passing by value.
What are the cobol coding sheets?
How can you get the ksds file records into your cobol program?