Proprietary scanner reports unsupported syntax for COBOL EXAMINE statement
Technote (troubleshooting)
Problem(Abstract)
When using the proprietary scanner with the most restrictive language level setting, IBM WebSphere Studio Asset Analyzer reports an analysis error message related to the COBOL EXAMINE statement.
Symptom
The analysis messages displayed in the program details view of IBM WebSphere Studio Asset Analyzer include
RC=8 TYPE=COBOL AES1004E Found unsupported syntax 'IN' in line 100
where line 100 is coded like
EXAMINE INPUT-DATA IN INPUT-AREA REPLACING ALL SPACE BY '_'.
Cause
The EXAMINE statement in IBM COBOL for OS/VS programs was replaced with the INSPECT statement in IBM Enterprise COBOL programs as part of COBOL 85 standard support. Since the proprietary scanner with the most restrictive language setting adheres to these standards, IBM WebSphere Studio Asset Analyzer flags the EXAMINE statement as an error.
Resolving the problem
Address the analysis error message by
Upgrading the program to COBOL 85 standards
or
Select the following COBOL scanning options to successfully process the EXAMINE statement in Step 3 of the Collect Inventory wizard:
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.