Micro Focus Visual COBOL 2.3 Update 2 for Eclipse (Windows)
>
General Reference
>
Error Messages
>
Syntax Checking Error Messages
>
COBCH0301 - COBCH0400
>
COBCH0341 - COBCH0360
>
COBCH0346 Only one WHEN phrase allowed with SEARCH ALL
COBCH0346 Only one WHEN phrase allowed with SEARCH ALL
You have specified two WHEN phrases in a SEARCH statement using the ALL option. You can specify only one WHEN phrase in this context.
Resolution:
Delete the extra WHEN phrase.
Parent topic:
COBCH0341 - COBCH0360