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

Answer Posted / sandip

In cobol apply counter while reading file if counter reach at 97 start writing record to another file.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is search and searchall?what is the diffrence between them?give an best example?

5560


What is the difference between goback, stop run and exit program in cobol?

929


How to know whether the module is dynamical or statistical?

656


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17039


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

759






can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906


What is redefines clause in COBOL?

851


Whats the difference between search & search ALL?

5264


Have you used comp and comp-3 in your project? And how?

2008


explain sorting techniques in cobol program?

690


HOw can I get the negative sign while deduct high value from low value

1790


What are declaratives and what are their uses in cobol?

714


What are literals?

632


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

857


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

1640