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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmode(24)

678


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1115


State the various causes of s0c1, s0c5 and s0c7.

662


What are the different rules of SORT operation?

698






What is the difference between structured cobol programming and object alternativelyiented cobol?

754


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10609


What are the different rules to perform a Search?

617


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721


What is cobol?

744


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17036


Can a Search can be done on a table with or without Index?

802


What rules are to be followed while using the corresponding options?

638


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

719