Version 4.2.6 for Mainframes (Update)
 —  TP Monitor Interfaces  —

Using Natural with TP Monitors

This document covers the following topics:


TP Monitor Systems Supported by Natural

Currently, Natural supports the following teleprocessing monitor systems:

For information on using Natural with a specific TP monitor, refer to the appropriate section in this documentation.

For Natural under CMS, see VM/CMS Environment in the Natural Operations documentation.

See also: SYSTP Utility.

The Natural utility SYSTP provides various TP-monitor-specific functions. It is available under the TP monitors CICS, Com-plete, IMS TM, TSO, TIAM and UTM.

Top of page

Using Natural in a Teleprocessing Environment

This section covers the following topics:

Embedding Natural in a TP Environment

In a teleprocessing monitor environment, Natural operates as a standard TP program and follows the rules that apply to programs executing under the control of this TP monitor.

As the Natural code is fully reentrant, it is shared between all Natural users and only a work area exists on an individual per-user basis (and only for the duration of this user's Natural session).

Natural user programs (transactions) can be executed together with native TP programs to form an integrated system comprising both Natural and conventional programs.

Calling Natural Transactions under a TP Monitor

The Natural transactions can be called by invoking the TP program called Natural and supplying the system command LOGON and the name of the Natural transaction to be executed in the stack.

Multiple commands/transactions and input data for the commands/transactions can be passed using the stack when calling Natural.

Terminating a Natural Session

The Natural session can be terminated by executing a TERMINATE statement or FIN system command.

Example Programs

The Natural library SYSEXTP contains several example programs for specific functions that apply only under certain TP monitors.

Top of page