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 are decleratives in cobol?

1819


What are 77 levels used for?

649


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1916


What are the different data types in cobol?

779


) how do u code after getting data?

1575






How arrays can be defined in COBOL?

658


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2716


What is the difference between goback, stop run and exit program in cobol?

914


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

808


Whats the difference between search & search ALL?

5236


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8603


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1515


Why would you use find and get rather than to obtain?

673


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

668


What are the different rules to perform a Search?

610