Reverse API Clients
Reverse API Clients
Right-click a target dataset and select Generate From Hub to import COBOL or RPG client code from a published Hub REVERSE method. Select the project and method, confirm client type, deployed API URL, optional runtime key, and optionally enable Test Via Hub.
OL Code generates client source and an OLAPICPY copybook, then opens both files in tabs. Use the appropriate reverse-API compilation template for the platform.
To begin from an external API definition, select Generate API Client, enter module and project names, upload an OpenAPI JSON/YAML specification (and optional extra specs), and generate the Hub REST asset and REVERSE project. Then continue in Generate From Hub to produce legacy client code.
Generate COBOL or RPG clients from Hub REVERSE projects or OpenAPI definitions.