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 is a scope terminator give example?

866


What kind of error is trapped by on size error option?

983


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

2140


What is the difference between comp and comp-3 usage?

899


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

11591


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1241


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

933


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2373


How you can read the file from bottom?

904


What type of SDLC u followed? Why?

1746


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5456


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

886


how do you reference the esds vsam file formats from cobol programs

907


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2215


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

874