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 is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is a scope terminator give example?
Difference between cobol and cobol-ii?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Write a cobol program making use of the redefine clause.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What rules are followed by the search verb.
how do you reference the esds vsam file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the difference between Call and a Link?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are the different rules for performing sort operation?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the different rules to perform a Search?