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 the LINKAGE SECTION used for?
What is the default value of DISP parameter?
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
wht is the difference between goto and perform stmts
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how do you reference the ksds vsam file formats from cobol programs
How do u initialize an array?
Can we move X(7) to S9(7) COMP?
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
How do you get the data to code the BMS macro?
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.