CALLING NATURAL FROM 3GL PROGRAMS

Can I call a Natural object(program, subprogram) from a COBOL, PL/1 or ASSEMBLER program ?
If yes, how can I do ?

Basically there are three options:

  1. Remote Procedure Call (RPC), see http://developer.softwareag.com/ets/docu/natural/Nat414mf/print/rpc.pdf

  2. Invoking NATURAL directly, which means starting the NATURAL “runtime” with every invocation (expensive)

  3. Using the 3GL Callnat interface ( see “Natural 3GL CALLNAT Interface” in http://developer.softwareag.com/ets/docu/natural/Nat414mf/print/ops_mf.pdf ).

  1. On Windows and UNIX: Using the Natural Native Interface (http://developer.softwareag.com/ets/docu/natural/Nat611win/print/pg.pdf p. 565 ff.).
    Regards, +o:-]

Right, but from “COBOL, PL/1 or ASSEMBLER” I concluded we are talking about options available on the mainframe, so I listed just those :wink: