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

example for sub strings ? and refernce modifications whit output pls

2309


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

1133


what is difference between cobol and cobol/400

22896


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2424


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


What rules are followed by the search verb.

1102


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1222


What the difference is between continue and next sentence?

1155


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2587


Difference between cobol and cobol-ii?

1267


Describe the cobol database components?

1169


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9093


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2462


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1162


How do we get current date from system with century in COBOL?

1373