Using the Smart code converter
This section describes the steps required to convert 68/74 COBOL Standard code to 85 COBOL Standard using the Smart code converter. The Smart code converter can be accessed from the tile on the welcome page.
Before you begin
- Ensure that you have installed the AI code assistant to leverage the AI capabilities of the Smart code converter.
- It is recommended that you run a load library or application scan and save the report to a project. This enables CUAZ to determine the compilation method used for the source programs and to identify which programs require conversion.
Note: The Smart code converter does not support code conversion for copybooks. To convert copybooks to 85 COBOL Standard syntax, follow the procedure in Fixing compilation and runtime errors using AI code assistant.
About this task
You can use the Smart code converter to perform code conversion for either of the following:
- Existing project created by saving a load library, application, or invalid data detection report.
- New project created in the Smart code converter flow.
Procedure
Results
The Smart code converter analyzes the original code and displays a side-by-side comparison highlighting the differences between the original code with old syntax and the converted code with updated syntax.
Programs with updated syntax that require review are indicated with the Syntax updated icon
. The converted programs are automatically copied to their original location on the mainframe when you save the file.