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
Name the sections present in data division.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the utilization of copybook in cobol?
How do you differentiate between cobol and cobol-ii?
What is the difference between comp and comp-3 usage?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how do you reference the rrds file formats from cobol programs
What are the different rules of SORT operation?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is report-item in COBOL?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Explain about different table spaces.
What are the cobol coding sheets?
What are different data types in cobol?
Write the code to count the sum of n natural numbers.