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

What is perform what is varying?

709


Write a program to enter and display the names of students in a class using the occurs clause.

653


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


explain sorting techniques in cobol program?

690






What are the pertinent COBOL commands?

2626


How do you define a variable of comp-1 and comp-2?

704


What is redefines clause in COBOL?

851


How do u write test cases?

1638


What is the difference between binary search and sequential search?

641


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


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

1638


what are decleratives in cobol?

1827


what is the difference between COBOL2 AND COBOL390?

2453