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 to read the last 100 records from a COBOL file. The file
contains N number of records.

Answer Posted / kk

Hi,
u declare two count variable.first count all the
records.then using compute statement count - 100.now move
the count no to second one.now again use read at end.now
give the condition grater than count-2 display rec.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between next sentence and continue in cobol programing language?

1220


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5373


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

868


what happens if parmparameter passes zero bytes to the program

2131


Differentiate between structured cobol programming and object-oriented cobol programming.

1147


Explain how you can characterize tables in cobol?

1063


Describe the cobol database components?

1172


explain sorting techniques in cobol program?

1200


What is a report item?

1139


What is comp-1 and comp-2?

1230


How do u write test cases?

2065


Name the divisions, which are available in a cobol program?

1235


What are the access modes of START statement?

1271


What are literals?

1132


In COBOL, what is the different between index and subscript?

1245