Passing Information between Compile Units - IBM CICS Interface for Teradata

IBM CICS Interface for Teradata® Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
IBM CICS Interface for Teradata
Release Number
20.00
Published
October 2023
Language
English (United States)
Last Update
2024-03-18
dita:mapPath
nmw1695364801820.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
axu1470436513048
Product Category
Teradata Tools and Utilities
With respect to the passing of information from one compile unit (a single source module that has been preprocessed and compiled) to another compile unit, there are essentially two cases to consider:
  • In the simpler case, one program (consisting of one or more compile units link-edited together) connects a database session and then transfers control to another program that will use that same session.
  • In the more complicated case, one program (consisting of one or more compile units link-edited together) opens a stream (if it uses Preprocessor1), or a cursor (if it uses Preprocessor2), or a request (if it uses CLI) and then passes control to another program that will operate against that same stream, cursor, or request.

The specific requirements for passing context in these two cases differ for CLIv1, Preprocessor1, CLIv2, and Preprocessor2.

In general, information is passed in the CICS COMMAREA.