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 |
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?
Write the code implementing the perform … varying.
how do u list the abended jobs?
How will you find the currepted records in a file
What is inspect in cobol ?
what is linkcard in cobol?
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
how to check whether the open command of a sequential file is successful? or not?
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?
How do you reference the following file formats from cobol programs?
Have you used comp and comp-3 in your project? And how?
what is the difference between Normal vaiable and comp variable.