COBOL Converter - In same as Out
Learn using the COBOL Mapping Editor to extract a COBOL converter where COBOL output parameters are the same as COBOL input parameters, that is, the output is not overlaid with a data structure different to the data structure on input.

A file containing valid COBOL data items describing the COBOL payload can be used to extract a COBOL converter for the EntireX Adapter. If you have selected an IDL file and opened the COBOL Mapping Editor with an existing COBOL to IDL mapping, continue with Mapping Editor User Interface.
Extracting a COBOL converter
It is assumed Input Message same as Output Message is checked. COBOL output and COBOL input parameters are the same, that is, the output is not overlaid with a data structure different to the data structure on input.
If you are extracting IDL from a COBOL source or extending the IDL file by extracting an additional COBOL source with interface type COBOL Converter, the Extractor Settings dialog appears (see also Step 4: Define the Extraction Settings and Start Extraction).
Make sure the interface type is correct and checkbox Input Message same as Output Message is not cleared.

Press Next to open the COBOL Mapping Editor.
- Add the COBOL data items to the COBOL Interface by using the context menu or toolbar available in the COBOL Source view and COBOL interface. See Notes.
- Continue with COBOL to IDL Mapping.
- It is very important to select the right COBOL data items describing the COBOL interface correctly. This means the COBOL data items used as parameters must match in number and in sequence of formats (COBOL usage clause).
- If your COBOL interface contains REDEFINEs, the first REDEFINE path is offered by default. Check manually whether this is the one you want. If not, correct it. You can select any other REDEFINE path.