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


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

655


Which Search verb is equivalent to PERFORM…VARYING?

685


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.

2054


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.

932


What is redefines clause in COBOL?

847






Explain the configuration section of a cobol program with examples of syntax.

658


What kind of error is trapped by on size error option?

740


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?

894


Can we change the password using ALTER? anyone tried and changed?

1547


Can we redefine the field of x(200) to less than 200?

816


What is the compute verb? How is it used?

659


What is rmode(24)

676


IF I mention stop run in CICS what happens?

1894


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.

3715


What is the Purpose of Pointer in the string?

641