what are the steps to sort in a cobol program?

Answer Posted / snehatechm

sort file-1 on ascending/descending key using file-2 giving
file-3

file-1 is the work file and it should be defined in SD
file-2 is the input file and it should be defined in FD
file-3 is the output file and it should be in FD.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


How you can read the file from bottom?

660


Write the code to count the sum of n natural numbers.

701


how do you reference the printer file formats from cobol programs

665


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379


How do you reference the fixed block file formats from cobol programs

706


What are the rules of the move verb?

708


how do you define single dimensional array and multidimensional array in your cobol?

678


Why did you choose to work with ibm mainframe cobol programming?

631


) How do u handle errors in BMS macro

1512


What is Pic 9v99 Indicates in COBOL?

729


Write the code implementing the perform … varying.

646


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6834


What are the different rules for performing sort operation?

763