what are the steps to sort in a cobol program?
Answers were Sorted based on User's Feedback
Answer / 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 |
01 a pic s9(5) occupies how many bytes ?
Explain call by context by comparing it to other calls.
comp-3 field occupy?
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
How do u write test cases?
how to change picture class of copy book variable inside program?
Explain about level numbers?
How do you get the data to code the BMS macro?
How to know whether the module is dynamical or statistical?
write a program to eliminate duplicate records in a input file and send them to output file.
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
what is the use of filler in cobol programing?