Can a Search can be done on a table with or without Index?



Can a Search can be done on a table with or without Index?..

Answer / Prakash Raj

Yes, both sequential and direct search can be performed on a table with or without an index. However, using an index generally improves the efficiency of the search operation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?

6 Answers  


Write the code implementing the perform … varying.

1 Answers  


how do u list the abended jobs?

1 Answers   IBM,


How will you find the currepted records in a file

2 Answers  


What is inspect in cobol ?

1 Answers   Infosys,


what is linkcard in cobol?

1 Answers   TCS,


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


How do you reference the following file formats from cobol programs?

1 Answers  


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

1 Answers   IBM,


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


Categories