What is the difference between SEARCH and SEARCH ALL?

Answers were Sorted based on User's Feedback



What is the difference between SEARCH and SEARCH ALL?..

Answer / sharath

SEARCH
1)Linear/sequential search
2)No sorting order because its seq. order
3)access is slow
4)Any relational operator is used
SEARCH ALL
1)Binary search
2)Sorting either asc/dsc order
3)Access is faster
4)Only equal operator can be used.

Is This Answer Correct ?    17 Yes 0 No

What is the difference between SEARCH and SEARCH ALL?..

Answer / anil prajapati

search is a sequential/linear search and search all is
binary search

Is This Answer Correct ?    10 Yes 1 No

What is the difference between SEARCH and SEARCH ALL?..

Answer / karan

search is linear search. search the data based on condition.
search can work with multiple when conditions.
data is no need sorted order.
when ever we searching the data index clause must be used.
this will take more time compare with search all.

Search all:Binary search.
data must be a sequence either ascending or descending order .
only one when condition can be used.
this will take less time

Is This Answer Correct ?    8 Yes 0 No

What is the difference between SEARCH and SEARCH ALL?..

Answer / dev

in addition to the above answer the data to be searched
should be sorted in case of binary search

Is This Answer Correct ?    8 Yes 1 No

What is the difference between SEARCH and SEARCH ALL?..

Answer / debby

Search starts at the beginning of the table and searches
each element until the argument is found.

Search All starts mid-point and selects the table partition
to search based on the argument (high or low).

Is This Answer Correct ?    2 Yes 0 No

What is the difference between SEARCH and SEARCH ALL?..

Answer / pradeep

search:
n search only index can be used
and also multiple when conditions can be used
but coming to binary search
index cannot be used
it searches according to ascending order or des order
here only when codition is possilble

if at all any mistakes can u correct me plssssssss
urs pradeep

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

example for sub strings ? and refernce modifications whit output pls

0 Answers   College School Exams Tests, IBM,


which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks

1 Answers  


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  


The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

0 Answers   IBM,


C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE

1 Answers   TCS,


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


How do you come out of an EVALUATE statement?

3 Answers  


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,


How arrays can be defined in COBOL?

0 Answers  


What was removed from COBOL in the COBOL II implementation?

0 Answers  


Categories