Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of the SEARCH statement in COBOL?
Answer: The SEARCH statement in COBOL is used to search a table for a specified value. It is commonly used with the WHEN clause to perform conditional actions based on the search result.

Example:

SEARCH ITEM-TABLE AT END DISPLAY 'Item not found'.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook