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
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.
Describe the cobol database components?
What are all the divisions of a COBOL program?
What are different data types in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are declaratives and what are their uses in cobol?
What rules are to be followed while using the corresponding options?
Write some characteristics of cobol as means of business language.
What is perform what is varying?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
) How do u handle errors in BMS macro
What is cobol?
Why would you use find and get rather than to obtain?
what is the difference between COBOL2 AND COBOL390?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there