Generating COBOL code in Decision Center
You can generate a COBOL program to execute rules in a COBOL application on z/OS®.
About this task
The COBOL code generation feature
is deprecated in V8.5. This feature will be removed in a future release
of the product. Use the COBOL Generation Project Migration wizard
to migrate your Rules for COBOL project to a zRule
Execution Server for z/OS compatible
rule project. See Deprecated features for migration
details.
This feature is only available if the project is COBOL enabled, and you sign in to the Decisions Center Enterprise console with Configuration Manager rights.
One of the execution options on z/OS is to generate a COBOL program to execute the rules. After you have generated the COBOL code, your development team can compile and build it, and then call it from the COBOL application.
To generate the COBOL code for a CICS® program, you must first define your CICS channel and container parameters.
Procedure
To generate COBOL code:
Results
When the download is complete, your development team can upload the COBOL program and, if generated, the CICS wrapper program, to z/OS. They must compile the program within the main calling program.
If the code does not generate successfully, you obtain a Code Generation Error report. The report groups the errors by type, displaying the name and the error message.