what is internal sort and external sort ?
which is preferable ?

Answers were Sorted based on User's Feedback



what is internal sort and external sort ? which is preferable ?..

Answer / tejas sheth

Hi

For internal sort you need to code a program by specifying
the sort criteria and that the program need to be compiled
and linked.

But in case of External sort there is no need for coding the
program.Moreover you can change the sort criteria just by
changing the sort parameters that passed thru the SYSIN card.

So the external sort is more efficient compared to internal
sort.

Is This Answer Correct ?    24 Yes 8 No

what is internal sort and external sort ? which is preferable ?..

Answer / udhaya

the internal sorting can reside in main memory....external
use secondary memory.....
-internal sorting is independent of time to read/write a
record...external ids dependent on the same
-internal sorting takes input only which can be fit into
its memory...i.e. it takes small input....whereas external
sorting can take as much as large input...

Is This Answer Correct ?    17 Yes 3 No

Post New Answer

More COBOL Interview Questions

How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


) How do u handle errors in BMS macro?

0 Answers   IBM,


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,


what is the difference between external and global variables?

1 Answers  


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,






What is the difference between a DYNAMIC and STATIC call in COBOL?

2 Answers  


What is amode(24)?

0 Answers  


Discuss about changing dataset name in proc.

0 Answers  


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".

3 Answers  


Categories