When search all is used in cobol program without sorted
input data

Answers were Sorted based on User's Feedback



When search all is used in cobol program without sorted input data..

Answer / geeta

SEARCH ALL wont give correct output if the data is not in
sorted order.

Is This Answer Correct ?    12 Yes 0 No

When search all is used in cobol program without sorted input data..

Answer / reena

SEARCH ALL is a binary search. So, the data needs to be in
sorted order and the array used for search all operation
should have index by.

Is This Answer Correct ?    10 Yes 0 No

When search all is used in cobol program without sorted input data..

Answer / srinivasareddy

If the table is loaded in a sorted order, then no need to
sort it explicitly and then Search all can be performed..

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More COBOL400 Interview Questions

What are fillers?

0 Answers  


01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUNDED TO 3/3 + A.

2 Answers  


Explain the syntax of sort?

0 Answers  


what is the difference between comp & comp-3?

4 Answers  


Explain the difference between section, paragraph and sentences?

0 Answers  






How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC * EVALUATE TRUE WHEN SQLCODE = +000 MOVE WS-COUNT TO Copybook field WHEN SQLCODE = +100 MOVE ZEROES TO Copybook field

2 Answers  


WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?

2 Answers  


How to update data area in cobol 400 program?

0 Answers  


Deleting a record from a Sequential file.

2 Answers   Polaris,


i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?

1 Answers   UHG,


What is perform?

0 Answers  


What are Fillers ? What is the actual use of Fillers ? With small/simple Example..

1 Answers   Patni,


Categories