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

What are the different rules of SORT operation?

702


What do you understand by psb and acb?

671


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

714


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

646


What guidelines should be followed to write a structured cobol prgm?

675






What the difference is between continue and next sentence?

665


how do you reference the fixed unblock file formats from cobol programs

713


What is length is cobol?

652


What is the Purpose of Pointer in the string?

645


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

656


What are the different types of condition in cobol and write their forms.

660


Difference between array and sub-script ?

1170


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

5571


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

782


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3725