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 are declaratives and what are their uses in cobol?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
how can i see junk values in dclgen or in hostvariable of comp ?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Write a program to explain size error.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
what is the difference between COBOL2 AND COBOL390?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how to access the file from prodution from changeman tool and to submit a file to production
Discuss about changing dataset name in proc.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
what are decleratives in cobol?