What are the different rules to perform a Search?



What are the different rules to perform a Search?..

Answer / Rashmi Chauhan Pundhir

A search is performed using the PERFORM VARYING or PERFORM UNTIL statement with a condition for comparison. The SEARCH clause can be used to specify the order of search, whether it's sequential or binary.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

how to create temporary data set in jcl? what is the use?

3 Answers   Cap Gemini, Temenos,


In an EVALUTE statement is the order of the WHEN clauses significant?

4 Answers  


What is EIBCALEN? Why it is used?

9 Answers   ADP,


how to transfer the file from pc to mainframe??

3 Answers  


What is XDC ?

3 Answers   Cap Gemini, IBM,


At the minimum, which division of COBOL is enough to be coded?

3 Answers   CTS,


how will you define vsam file in select clause?

3 Answers   Patni,


Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.

3 Answers   TCS,


Have you used comp and comp-3 in your project? And how?

1 Answers   IBM,


Can we use redefine clause in occurs clause?

10 Answers  


Can we use goto statement in inline_perform ?

5 Answers   IBM,


what are the diferences b/w sub-script and index?

4 Answers  


Categories