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:
|
Is it helpful?
Yes
No
Most helpful rated by users: