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 |
can we write paragraph in area B .....
1.Can we define condition-name conditions in FD entry.
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
What is the difference between Call and a Link?
How to increase the logical record length of existing PS file?
what are decleratives in cobol?
how to submit a jcl by cobol program. clear me with an example.
What are different file OPEN modes available in COBOL?
What is the difference between external and global variables in COBOL?
If I want to increase the Limit in GDG. What should I do?
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
How is sign stored in a COMP field ?