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 |
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
) how do u code after getting data?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible
What is the reference modification.
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 is normalisation?
What is the difference between external and global variables in COBOL?
Why we should use cursor ?
How can you add a particular field in copybook?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning