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 do get the result of your program directly on your pc?

1874


How do you reference the following file formats from cobol programs?

692


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?

5367


Write a program that uses move corresponding.

668


How do you define a variable of comp-1 and comp-2?

699






What rules are followed by the search verb.

631


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2098


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1695


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

890


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

2656


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2050


What is link edit in cobol?

738


how to refer the data field?

1800


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


What is a report item?

736