How to read records which is in sequential file in reverse
order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my
doubt any one
Answer Posted / abhishek
@Rakesh You can define table occurs clause based on the No
of records that input file have.
All, You can reverse the file it self using external sort
before reading it.
Thanks,
Abhishek
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are different data types in cobol?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
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
Which mode is used to operate the sequential file?
Have you used comp and comp-3 in your project? And how?
What is link edit in cobol?
What is the difference between PIC 9.99 and PIC9v99?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do u write test cases?
What the difference is between continue and next sentence?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Define cobol?