I have 100 records in a file.. i want to sort the records from
5 to 5o... give the syntax...
Answer Posted / anand
Follow the workaround below,
1.split the file into 3 files using IDCAMS
file1 1-4
file2 5-50
file3 51-100
2.Sort the mid file file2.
3.Finally merge all the 3 files using concatenation.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why did you choose to work with ibm mainframe cobol programming?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write a program to explain size error.
When is inspect verb is used in cobol?
how do you reference the ksds vsam file formats from cobol programs
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Define static linking and dynamic linking.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Name the divisions, which are available in a cobol program?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Why occurs cannot be used in 01 level in COBOL?
Write the code implementing the perform … varying.
How to know whether the module is dynamical or statistical?
Give some examples of command terminators?