Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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)?



How can I find the maximum value of a field in a file while reading the file dynamically? without ..

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

Post New Answer

More COBOL Interview Questions

Can we use goto statement in inline_perform ?

5 Answers   IBM,


What rules are followed by the search verb.

0 Answers  


what is the difference between Plan & package

3 Answers   IBM,


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


How do you compile cobol program..?

1 Answers  


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


What guidelines should be followed to write a structured Cobol program?

1 Answers  


how will you define vsam file in select clause?

3 Answers   Patni,


How to increase the logical record length of existing PS file?

7 Answers  


file status 00 is checked after opening the file or reading the file

4 Answers   John Deere,


Can we use redefine clause in occurs clause?

10 Answers  


i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


Categories