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 usage of comp fields in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What rules are followed by the search verb.
Define cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how to access the file from prodution from changeman tool and to submit a file to production
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.
Have you used comp and comp-3 in your project? And how?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?