Adabas/Natural programs can be executed using the iWay
Transaction Adapter for CICS. Two programs, AASNATC and AASSUBC,
which comprise the Adabas/Natural interface, are packaged with the
iWay Service Manager (SM) installation and must be installed in
the CICS region. These programs function as an interface between the
Natural environment and the CICS/DPL environment, and have the following
roles:
-
AASNATC -
This proxy program is invoked by the adapter and starts the Natural
Nucleus to run your program.
-
AASSUBC -
The Natural program uses AASSUBC to read and write the COMMAREA
on a field-by-field basis.
The following diagram illustrates the end-to-end data flow for
a service request to a Natural program.
The following steps outline the call flow:
- The iWay
Transaction Adapter for CICS receives an input XML document.
- The adapter
wraps the user COMMAREA with Natural Control information, and sends
it to AASNATC.
- The AASNATC
program invokes the Natural environment with the Natural program name
and logon parameters.
- The Natural
program receives control and reads the input COMMAREA using AASSUBC.
After processing the data, it uses AASSUBC again to write the ouput COMMAREA
and returns control to AASNATC.
- AASNATC constructs
the return COMMAREA and returns it to the adapter (via the mirror).
- The adapter
returns the output XML document to the caller.