I have two files , file1 is input file it contains
10,20,30,....,records
but i want to display the records in file 2 as reverse order
.how can we do by using jcl& cobol(dont use array)
please any one can tell me the answer
Answer Posted / vaneesh
We can sort the input file in descending order usign DFSORT
sort fields=(1,3,CH,D)
then simply read the sorted file in the program and display
it in the spool.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the various section in data division and briefly explain them.
how do you reference the rrds file formats from cobol programs
What is cobol?
How many bytes S(8) comp field occupy and its maximum value?
how to refer the data field?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how to move the records from file to array table. give with code example
Explain how you can characterize tables in cobol?
Write a program that uses move corresponding.
what is amode(24), amode(31), rmode(24) and rmode(any)?
Differentiate between structured cobol programming and object-oriented cobol programming.
Can you please let me know the centre name of INS certification in Kolkata.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the Purpose of Pointer in the string?