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...

sample code for read a 2nd record from last in flatfile how
can do?

Answer Posted / sunilkumar

First open the file in reverse order using OPEN command

OPEN FILE file-name REVERSE

Then read twice to get the 2nd last record.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

1187


Can we redefine the field of x(200) to less than 200?

1307


Define cobol?

1312


Explain about different table spaces.

1047


how to access the file from prodution from changeman tool and to submit a file to production

7441


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2014


How do you reference the following file formats from cobol programs?

1120


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1102


Mention the guidelines to write a structured cobol program?

1028


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2077


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1061


How are the next sentence and continue different from each other?

1225


What is the difference between PIC 9.99 and PIC9v99?

1279


how do you reference the ksds vsam file formats from cobol programs

1124


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2327