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
What is the difference between Call and a Link?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
i need a small 3d program using inline and outline.
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
What do you understand by psb and acb?
What is the difference between PIC 9.99 and 9v99 in COBOL?
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 is the compute verb? How is it used?
What are the cobol coding sheets?
What is the usage of comp fields in cobol?
Explain how to differentiate call by context by comparing it to other calls?
What are the different rules of SORT operation?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the access modes of START statement?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?