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

Answers were Sorted based on User's Feedback



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

Answer / sid

Search is a leniar search and search all is binary search.
In search all it required to be sorted all the records in
assending or descending order.

Is This Answer Correct ?    10 Yes 0 No

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

Answer / naveen

-Search is a linear search, search all is a binary search.
-search is performed in sorted and unsorted record, searchall is only in sorted record.
-in search multiple when clause is used, in search all single when clause is used.
-search is always used in small table, search all is always used in large table.
-Index value is set to 1. in search all no need!

Is This Answer Correct ?    4 Yes 0 No

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

Answer / siri

SEARCH SEARCHALL
-------- ---------------*SEARCH IS A LINEAR SEARCH *SEARCHALL IS A BINARY SEARCH
*DATA NEED NOT BE IN SORTED *DATA MUST BE IN SORTED ORDER
ORDER
*SEARCH IS EFFICIENT THAN *SEARCHALL IS EFFICIENT THAN
PERFORM SEARCH
*MULTIPLE WHEN CONDITINS ARE *ONLY ONE WHEN CONDITION IS
SPECIFIED SPECIFIED.
*ANY RELATIONAL OPERATOR(=,<= *ONLY = CAN BE USED
>=)CAN BE USED.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  


What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?

4 Answers  


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,


how can we fetch 3 records in cobol pgm any coding pls ?

3 Answers   CGI,






What are the access modes of START statement?

0 Answers  


how to transfer the file from pc to mainframe??

4 Answers  


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


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

0 Answers  


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


Categories