can we read records in a file from botom to top. if
possible how can we read
Answer Posted / jayant
WORKAROUND:Sort the file in the descending manner first
based on its key,than read it normally.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the problem of ordered sequential files access?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Which Search verb is equivalent to PERFORM…VARYING?
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between Call and a Link?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
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.
What are the different open modes available in cobol?
How can you get the ksds file records into your cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how do you reference the variable block file formats from cobol programs
How do we get current date from system with century in COBOL?
What rules are to be followed while using the corresponding options?
Can a Search can be done on a table with or without Index?