Whats the difference between search & search ALL?

Answer Posted / rajvee

Search is Sequential Serach whereas Search All is Binary
Search.
Search needs the index key for the array whereas Search All
doesnt need it.
Search All is ideal for searching huge volume of data else
Search is easier.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various section in data division and briefly explain them.

924


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

914


what is search and searchall?what is the diffrence between them?give an best example?

6203


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

2614


how do you reference the fixed unblock file formats from cobol programs

941


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2190


Why did you choose to work with ibm mainframe cobol programming?

858


How can you get the ksds file records into your cobol program?

853


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

992


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2018


What are the access modes of START statement?

944


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1049


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 ......

11541


What are the different rules of SORT operation?

909


HOw can I get the negative sign while deduct high value from low value

2017