When search all is used in cobol program without sorted
input data?
Answers were Sorted based on User's Feedback
Answer / hemant
Answer#3 is correct.
If data is not sorted, Program Compilation wont show any
error message. But, program will give unpredictable result.
Is This Answer Correct ? | 16 Yes | 0 No |
Answer / sivakumar sekharannair
Search all is a binary search and is searched with the help
of key. so the table should be necessarily sorted
Is This Answer Correct ? | 14 Yes | 5 No |
I think answer#2 is correct.
But i think the main intention of the question was what if
we dont sort the input data will the Search all work or not
work?
So if this is what intended by the question,than i think
that definately Search all will work but it will give
unpredictable results.
Correct me if i am wrong, in this scenario.
Is This Answer Correct ? | 9 Yes | 3 No |
Answer / suputhru
I agree with Rookie.
to use Search all table should be necessarily sorted.
If data is not sorted, Program Compilation wont show any
error message. But, program will give unpredictable result.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prasad
Yes.It Wount shoe any compilation probelms.It will sort but
gives unpredictable result.
Is This Answer Correct ? | 1 Yes | 0 No |
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
describe 805 error
wht is the diff b/w if and evaluate stmts ?
for an INITIALIZE and what keyword allows for an override of the default.
The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 Answers Huawei, IBM, TCS,
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
Can we use goto statement in inline_perform ?
What is ASKTIME, SUSPEND
how do you reference the esds vsam file formats from cobol programs
What is the mode in which you will OPEN a file for writing?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
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?