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 / binary logics
*hival setgt pfrec
90 doueq *on 90 is a indicator for End of file
readp pfrec
write newpfrec
enddo
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how do you reference the rrds file formats from cobol programs
What are declaratives and what are their uses in cobol?
how do you reference the ksds vsam file formats from cobol programs
In COBOL programming, what is PERFORM? What is VARYING?
Which mode is used to operate the sequential file?
What rules are to be followed while using the corresponding options?
When is inspect verb is used in cobol?
What is the use of intialize verb?
Describe the cobol database components?
What is cobol?
) How do u handle errors in BMS macro?
Explain what you understand by passing by value.
How do u write test cases?
What are the different rules for performing sort operation?