why we are using set in searchall?

Answers were Sorted based on User's Feedback



why we are using set in searchall?..

Answer / nagaraj ramamoorthy

no need use the SET verb in search all (Binary Search)
because it will automatically initialise and increase the
index variable in the table.

Is This Answer Correct ?    9 Yes 0 No

why we are using set in searchall?..

Answer / mahesh

actually in search we use a set verb to set the data in
increse or decrease order but incase of searh all its a
binry search no need to use the set verb

Is This Answer Correct ?    4 Yes 1 No

why we are using set in searchall?..

Answer / krishna chaitanya

In searchALL We Dont use any Set Verb . But in Search we
will use

Is This Answer Correct ?    0 Yes 0 No

why we are using set in searchall?..

Answer / ashok

in search all(bynary search)
set is used in 2 ways
1) if u incress/decress indexed varibles
ie set ws-a upto/downto 5.
it incress/decress indexvalue 5.
2) we canot use move clause in indexed so we use set
place of move like
ie set ws-a to 5.
it simply move 5 to ws-a.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


how to change picture class of copy book variable inside program?

2 Answers  


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


What is difference between static and dynamic call in cobol?

0 Answers  






What is file status 92?

3 Answers  


Write a cobol program making use of the redefine clause.

0 Answers  


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


What do you understand by psb and acb?

0 Answers  


With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?

4 Answers   IBM,


What is amode(24)?

0 Answers  


Can we use icetool in cobol program?

3 Answers  


Categories