Skip to content

RDZPreprocessor

Olivier Smedile edited this page Apr 6, 2017 · 8 revisions

RDZ Minimal integration

RDZ allows to have a Cobol file which contains proprietary code. Based on this, we can add TypeCobol syntax to any Cobol 85 file. TypeCobol lines will be treated as regular text by RDZ. Cobol 85 lines will be treated as ... Cobol 85.

At demand or each time you save a file containing TypeCobol and Cobol 85, the TypeCobol preprocessor will be called to produce the generated Cobol file. You can then compile this generated Cobol file by a Cobol 85 compiler.

How to setup this RDZ minimal integration

This rely on preprocessor. You must add a new (or modify an existing) property group. Right click on a file or folder, then choose Property Groups > Associate Property Group or Property Groups > Edit Associated Property Group.
On the property group, there is "Cobol" tab and then you choose "Local preprocessor". Just click on "New" and configure the TypeCobol preprocessor.

The command line is:

 -d DIAGNOSTIC_FILE -s SKELETON -e rdz -y INTRINSIC_TYPES```  


Here you can see the configuration Inside RDZ:  
[[images/RDZPreprocessor.PNG]]
Clone this wiki locally