What should be the sorting order for SEARCH ALL?
Answers were Sorted based on User's Feedback
Kavya Answer is Correct, Either Ascending or Descending
Order using Search All. Using Search there is no need of
Sorting Order
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vampire
yeah it is not necessary to give in ascending order
i ill give u d syntax
set indexname to 1
search identifier1 at end "not found"
when dataname1=literal1/identifier1 and
dataname2=ilteral2/identfiier2
perform para a
end-search
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shanuss
But as per my knowledge it is binary search and we have to
give the search word in sorted order...What do you say?
| Is This Answer Correct ? | 0 Yes | 1 No |
What COBOL construct is the COBOL II EVALUATE meant to replace?
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What compiler option would you use for dynamic linking?
What is normalisation?
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
how many maximum no of variables can be declared in linkage section ?
How many divisions we have in Cobol ?
Why would you use find and get rather than to obtain?
1.What is the limit of linkage section?