by Robert Sample » Wed Oct 31, 2012 5:44 pm
There is a link to IBM Manuals at the top of the page. If you click on it, then click on the Enterprise COBOL Language Reference manual, you can find the syntax diagram for the SEARCH ALL statement in section 6.2.32 and it explicitly allows a WHEN condition to use AND, so even though you can only use one WHEN statement that statement can be a compound condition.