wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

Answer Posted / quasar chunawala

There is no such facility on Mainframe COBOL to read a
Sequential File(PS), backwards. PS(Physical Sequential)
files are meant to be read in a straight-sequential fashion
record-by-record one at a time, till you reach the Desired
record.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the sections present in data division.

701


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1934


What is the utilization of copybook in cobol?

656


How do you differentiate between cobol and cobol-ii?

656


What is the difference between comp and comp-3 usage?

678






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

17031


how do you reference the rrds file formats from cobol programs

796


What are the different rules of SORT operation?

698


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730


What is report-item in COBOL?

708


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

706


Explain about different table spaces.

648


What are the cobol coding sheets?

664


What are different data types in cobol?

687


Write the code to count the sum of n natural numbers.

697