How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning.
Answer Posted / nagaraju
SORT SORT-FILE
ON ASCENDING/DESCENDING KEY key-value
USING input-file
GIVING output-file.
we can use input procedure and output procedure as fallow
SORT SORT-FILE
ON ASCENDING/DESCENDING KEY key-value
INPUT PROCEDURE IS --------
OUTPUT PROCEDURE IS -------.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the cobol coding sheets?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What are the pertinent COBOL
What are the different rules for performing sort operation?
Define static linking and dynamic linking.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is inspect in cobol ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Can we change the password using ALTER? anyone tried and changed?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Define cobol?
State the various causes of s0c1, s0c5 and s0c7.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you reference the fixed block file formats from cobol programs
How do define dynamic array in cobol.