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 redefines clause in COBOL?
What is amode(31)
What are the different data types in cobol?
What are the pertinent COBOL commands?
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
What is the difference between structured cobol programming and object alternativelyiented cobol?
Why would you use find and get rather than to obtain?
What guidelines should be followed to write a structured cobol prgm?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between PIC 9.99 and 9v99 in COBOL?
what happens if parmparameter passes zero bytes to the program
Are you comfortable in cobol or jcl?
Can we change the password using ALTER? anyone tried and changed?
What is an in line perform? When would you use it? Anything else you wish to say about it.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?