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

I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?

Answer Posted / harsha

Read file sequentially and load it in table. keep check on
the number of ocurances(i.e. number of records).

Once the table is fully loaded, you know the total
occurances. Say it is X. Now read the table with occurance
X-3

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you get the ksds file records into your cobol program?

1051


What is the difference between perform … with test after and perform … with test before?

1384


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2401


What is the difference between external and global variables in COBOL?

1384


What are the different types of condition in cobol and write their forms.

1077


What are the access modes of START statement?

1207


In COBOL programming, what is PERFORM? What is VARYING?

1100


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4126


For rewrite, why is it mandatory that file needs to be opened?

1075


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1109


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1204


What is redefines clause in COBOL?

1258


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

1966


What is a SSRANGE and NOSSRANGE?

1421


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

1050