Calling Natural from Cobol and vice versa

Please let me know how can I call a Natural program from a Cobol module and also Cobol program from Natural module. Once the called module is complete, control should return back to calling module along with linkage data.


You can CALL ‘cobprog’ from Natural using the CALL statement. You can talk to your Natural admin about making sure this program is accessible from the nucleus.

As for calling Natural from COBOL, you can execute a CICS transaction that invokes Natural runtime and stack data to execute the program. If not running CICS, you have other options I am sure.

Natural to COBOL (CALL statement) -
COBOL to Natural -