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

in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


What is the point of the REPLACING option of a copy statement?

3 Answers  


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  






What does the initialize statement do ?

2 Answers  


in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?

2 Answers   HSBC,


In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.

1 Answers  


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

0 Answers   IBM,


What is comp-1 and comp-2?

0 Answers  


Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.

5 Answers   EDS,


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


Categories