Skip to Content
Custom Search

DIFFERENCE BETWEEN COBOL SEARCH AND SEARCH ALL

 
 
 
 
 
 
 
 
 
 
 
DIFFERENCE BETWEEN SEARCH AND SEARCH ALL
 

The following mainframe tutorial list down the basic differences between the COBOL SEARCH and SEARCH ALL.

 

SEARCH

SEARCH ALL

1) Used for sequential search

in COBOL tables.                    

1) Used for Binary search.

2) The entries do not need to

 be in any order.                    

2) The table entries must be in some

    order.

3) SEARCH can use multiple 

WHEN conditions.                

3) Only one WHEN is allowed.

4) SEARCH can be used with any

relational condition         

4) SEARCH ALL works with only equality 

   condition.                          

 

5) SET statement is a must  

for initializing the index  

before its usage.           

5) SET statement is not required.

 

 

 

 

 

; ; ; ;

Comments

good

thanks for providing the matter. It is very helpful

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 33 guests online.
Dr. Radut | page