When search all is used in cobol program without sorted
input data
Answers were Sorted based on User's Feedback
Answer / geeta
SEARCH ALL wont give correct output if the data is not in
sorted order.
Is This Answer Correct ? | 12 Yes | 0 No |
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 |
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 |
What is sort? And its syntax?
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
Explain the input procedure?
What are the types of perform?
Explain the types of perform?
Define redefine?
define comp?
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.
WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?
What is the syntax of sort?
Deleting a record from a Sequential file.
Explain the input procedure and output procedure?