how can you identify wheather the program is using search
or search all in the cobol program?
Answer Posted / y@$w@nth
The identification will be depend on many ways
The following are some ways:
1.first thing is that we can see the keywords like SEARCH or
SEARCH ALL
2.Second thing is that the array type(single dimension or
multidimension) that is followed by
SEARCH(multidimension/single dimension) or SEARCH ALL(only
single dimension) keyword.
3.third thing is that what are the relational operators we
used (multiple relational operators can be used in SEARCH
like AND OR etc... but in case of SEARCH ALL Only =
relational operator is allowed )
4.And the fourth one is that(only one when condition will be
used in SEARCH ALL. multiple WHEN conditions can be used in
SEARCH)
Let me know if any other..........
Y@$W@nth....
Cheers...
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What the difference is between continue and next sentence?
Which Search verb is equivalent to PERFORM…VARYING?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is redefines clause in COBOL?
Explain the configuration section of a cobol program with examples of syntax.
What kind of error is trapped by on size error option?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Can we change the password using ALTER? anyone tried and changed?
Can we redefine the field of x(200) to less than 200?
What is the compute verb? How is it used?
What is rmode(24)
IF I mention stop run in CICS what happens?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the Purpose of Pointer in the string?