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

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2109


What is inspect in cobol ?

806


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10660


What is the difference between a binary search and a sequential search what are the pertinent cobol?

737


What are the pertinent COBOL

2051






How arrays can be defined in COBOL?

669


Write the code implementing the perform … varying.

648


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


How do you differentiate between cobol and cobol-ii?

659


Name some of the examples of COBOl 11?

2689


) How do u handle errors in BMS macro

1514


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

2343


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2727


How do define dynamic array in cobol.

675