Whats the difference between search & search ALL?
Answers were Sorted based on User's Feedback
Answer / sushant kumar mohanty
Search : Sequential Search.
Table should have INDEX.
Table need not be in SORTED order.
Search ALL : Binary Search.
Table should have INDEX.
Table should be in sorted order of the searching
argument. There should be ASCENDING/DESENDING
Clause.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rajvee
search needs the index to be set before use..search all
doesnt need it.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajvee
Search is Sequential Serach whereas Search All is Binary
Search.
Search needs the index key for the array whereas Search All
doesnt need it.
Search All is ideal for searching huge volume of data else
Search is easier.
Is This Answer Correct ? | 0 Yes | 1 No |
1) can we display the index?
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
How many types of sorts are there in cobol?
Difference between ps, esds
What is the different between index and subscript?
What is the difference between copy and include in cobol?
how to code in cobol while using variable block file?
What is file status 92?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
how to convert the recors form vsam file to db2 table tru file aid
how you read control card into array?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error