How do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning.
Answer Posted / subhashini
we can sort a cobol program define SD SORT-FILE in
FILE SECTION
THE SYNTAX IS
SORT SORT-FILE IN ASCENDING/DESCENDING KEY USING
INPUT-FILE GIVING OUTPUT-FILE.
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What are literals?
What is the usage of comp fields in cobol?
How do u write test cases?
Why did you choose to work with ibm mainframe cobol programming?
What guidelines should be followed to write a structured cobol prgm?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the problem of ordered sequential files access?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between external and global variables in COBOL?
HOw can I get the negative sign while deduct high value from low value
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Explain how to differentiate call by context by comparing it to other calls?
What are declaratives and what are their uses in cobol?