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 is sort? And its syntax?

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  


Explain the input procedure?

0 Answers  


What are the types of perform?

0 Answers  


Explain the types of perform?

0 Answers  






Define redefine?

0 Answers  


define comp?

2 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  


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

2 Answers  


What is the syntax of sort?

0 Answers  


Deleting a record from a Sequential file.

2 Answers   Polaris,


Explain the input procedure and output procedure?

0 Answers  


Categories