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

What type of SDLC u followed? Why?

1720


Write down the divisions of cobol program?

838


What is the difference between comp and comp-3 usage?

862


What is link edit in cobol?

937


Why occurs cannot be used in 01 level in COBOL?

910


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2088


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17508


How do you get the data to code the BMS macro?

1690


how do you reference the esds vsam file formats from cobol programs

867


how can i see junk values in dclgen or in hostvariable of comp ?

2748


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5080


What are the access modes of START statement?

932


Which Search verb is equivalent to PERFORM…VARYING?

856


What is an in line perform? When would you use it? Anything else you wish to say about it.

830


Explain the configuration section of a cobol program with examples of syntax.

861