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
What is the utilization of copybook in cobol?
How arrays can be defined in COBOL?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between goback, stop run and exit program in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Which mode is used to operate the sequential file?
how do you reference the fixed unblock file formats from cobol programs
how to access the file from prodution from changeman tool and to submit a file to production
how to move the records from file to array table. give with code example
Name the sections present in data division.
Describe the cobol database components?
How to print 10 to 1 if the input have only 10 digit number?
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?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?