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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is report-item in COBOL?

1091


Write a cobol program making use of the redefine clause.

1120


how do you reference the variable unblock file formats from cobol programs

1278


Explain how to differentiate call by context by comparing it to other calls?

1128


Can we change the password using ALTER? anyone tried and changed?

1950


In which area will you utilize 88 level items in cobol?

1096


Write a program to explain size error.

1136


How to know whether the module is dynamical or statistical?

1080


How do get the result of your program directly on your pc?

2294


What is a scope terminator give example?

1049


i need a small 3d program using inline and outline.

2165


Define cobol?

1308


What is difference between static and dynamic call in cobol?

1296


Why did you choose to work with ibm mainframe cobol programming?

1034


What are declaratives and what are their uses in cobol?

1130