CICS Data passing between programs

CICS XCTL Statement CICS COMMAREA

Advertisements


There are many ways of data passing between the programs or between the transactions in other words.

The best possible ways are described below.


  1. COMMAREA
  2. QUEUES
  3. TCTUA, TWA, CWA

Let’s discuss each topic one by one.


COMMAREA:


Communication area is used to transfer the data or information from one program to another program that may be the same transaction or different transactions.

The maximum length of the data can be passed through COMMAREA is 64K.

But the recommended length is 24K and it is not preferred not to pass more than 24K.

Data can be available between the programs which are in communication (i.e. Called program and Calling program).

COMMAREA can be explained in detail here .


QUEUES:


Queues are used to pass the huge data between the programs.

Most of the cases queues can be used to make avail more than 32K length data between the programs.

Queues can pass the data between the transactions in the same region.

Sometimes Queues can also pass the data between multiple regions.

QUEUES can be explained in detail here .


CICS XCTL Statement CICS COMMAREA

Advertisements