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.

Thanks
Shan

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) - http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat822mf/sm/call.htm
COBOL to Natural - http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat822mf/ops_mf/calln-over.htm#calln-over