Using Natural with TP Monitors

#### Search Results

Search

# Using Natural with TP Monitors

Natural provides interfaces that allow the Natural nucleus to access a TP monitor for online transaction processing and an operating system (OS) for batch processing.

For general information, see also the section TP/OS Interface in the Natural System Architecture documentation.

This document covers the following topics:

- TP Monitor Systems Supported by Natural

- Using Natural in a Teleprocessing Environment

#### Notation vrs or vr

When used in this documentation, the notation vrs or vr represents the relevant product version (see also Version in the Glossary).

## TP Monitor Systems Supported by Natural

Natural supports the following teleprocessing monitor systems:

- CICS

- Com-plete

- IMS TM

- TSO

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

## Using Natural in a Teleprocessing Environment

This section covers the following topics:

- Embedding Natural in a TP Environment

- Relevant Natural Profile Parameters

- Calling Natural Transactions under a TP Monitor

- Monitoring and Controlling TP-Monitor-Specific Natural Characteristics

- Terminating a Natural Session

- Example Programs

### 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.

### Relevant Natural Profile Parameters

There are various Natural profile parameters that apply if Natural is used with a TP monitor.

For an overview of these parameters, see TP Monitor Interfaces in Profile Parameters Grouped by Category in the Natural Parameter Reference documentation .

### 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.

### Monitoring and Controlling TP-Monitor-Specific Natural Characteristics

The Natural utility `SYSTP` provides various functions which can be used to monitor and control characteristics of Natural that are specific to TP monitors.

`SYSTP` is available under the TP monitors Com-plete, CICS, IMS TM, and TSO.

For further information, see SYSTP Utility.

### Terminating a Natural Session

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

### Example Programs

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

### On this page

- TP Monitor Systems Supported by Natural
- Using Natural in a Teleprocessing Environment