How can I find the maximum value of a field in a file while
reading the file dynamically? without using sort function.
Suppose i have a file with fields Timestamp, description,
teamname, teamnumber.. i have read the file till end and
find the maximun value of timestamp which is not in sorted
order.. can we use function max(timestamp)?
Answer / mr.perfect
yes, we can use the function command.
MOVE FUNCTION MAX(timestamp-field) TO WS-TIMESTAMP
| Is This Answer Correct ? | 1 Yes | 3 No |
Can we use goto statement in inline_perform ?
What rules are followed by the search verb.
what is the difference between Plan & package
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
How do you compile cobol program..?
waht is inspect verb? where it can be in real time?
What guidelines should be followed to write a structured Cobol program?
how will you define vsam file in select clause?
How to increase the logical record length of existing PS file?
file status 00 is checked after opening the file or reading the file
Can we use redefine clause in occurs clause?
i want to learn mainframes. i completed MCA ,whats the future of mainframes