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 |
what is scope terminator
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
what is the difference b/w level no.01 & level no.77?
Under which scenario you would go for a static call as opposed to dynamic call?
How to remove 2 duplicate records and copy only one using job control language?
what is the difference between implicit and explicit scope terminator with example?
What are VS COBOL 11 special features?
what is rediffine clause?in what situation it can use?give me real time example?
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
What are the two search techniques ?
can we read records in a file from botom to top. if possible how can we read
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya