How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning.
Answer Posted / mftech
Need to define the SORT-FILE in SD in file section.
Sort SORT-FILE
Using Input-File
Giving Output-File
Can also use inout procedure and output ptocedure inplace
of input fiile and output files.
| Is This Answer Correct ? | 14 Yes | 10 No |
Post New Answer View All Answers
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Name the sections present in data division.
Name some of the examples of COBOl 11?
What are the different rules to perform a Search?
Can we change the password using ALTER? anyone tried and changed?
What type of SDLC u followed? Why?
what is the difference between COBOL2 AND COBOL390?
Write a program that uses move corresponding.
Have you used comp and comp-3 in your project? And how?
Difference between cobol and cobol-ii?
What is the utilization of copybook in cobol?