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

If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


how many bytes do SPPPP999 will store?

18 Answers  


what is jcl approach for programming?

4 Answers   IBM,






How do pass the values to the parameters in cobol

2 Answers  


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


What are the pertinent COBOL commands?

0 Answers   Satyam,


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,


Write down the divisions of cobol program?

0 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


Categories