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
What are the different open modes available in cobol?
explain sorting techniques in cobol program?
Discuss about changing dataset name in proc.
Which Search verb is equivalent to PERFORM…VARYING?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How many sections are there in data division in COBOL?
How to know whether the module is dynamical or statistical?
What guidelines should be followed to write a structured cobol prgm?
) How do u handle errors in BMS macro
Can we redefine the field of x(200) to less than 200?
What are different data types in cobol?
how do you reference the printer file formats from cobol programs
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between Global and External Variables?
What are various search techniques in cobol? Explain.