0% found this document useful (0 votes)
6 views21 pages

CICS Tutorial

The document discusses Automatic Transaction Initiation (ATI) in CICS, which allows transactions to be triggered by internal system events instead of user input. Key features include intrapartition TDQ triggering, the EXEC CICS START command for initiating transactions, and the ability to manage asynchronous processing tasks. Additionally, it outlines COBOL equivalents for various DB2 data types.

Uploaded by

RESHMY
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views21 pages

CICS Tutorial

The document discusses Automatic Transaction Initiation (ATI) in CICS, which allows transactions to be triggered by internal system events instead of user input. Key features include intrapartition TDQ triggering, the EXEC CICS START command for initiating transactions, and the ability to manage asynchronous processing tasks. Additionally, it outlines COBOL equivalents for various DB2 data types.

Uploaded by

RESHMY
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

.

…..
 INREC: INREC FIELDS=(1,10,20,5) rearranges fields before sorting.

 OUTREC: OUTREC FIELDS=(1,10,2X,20,5) adds blanks (2X) after sorting.


..
BB
5

.
Automatic Transaction Initiation (ATI) in CICS is a facility that triggers the execution of a transaction
based on internal system events rather than direct user input from a terminal. It is commonly used to
process data in intrapartition transient data queues (TDQ) when a set "trigger level" is reached, or to
initiate transactions via the EXEC CICS START command.

IBM +3

Key Aspects of ATI in CICS:


 Intrapartition TDQ Triggering: When data written to an intrapartition queue reaches a
predefined count (trigger level), CICS automatically starts a designated transaction to process
that data.

 EXEC CICS START: Transactions can be initiated at a specific time, after a time interval, or
immediately, often with associated terminal or user data.

 Terminal Interaction: An ATI-initiated task can be associated with a terminal, even if the
terminal is not currently active or is owned by a different region in a multi-region operation
(MRO) environment.

 Processing Cycle: The initiated transaction must read the TDQ data until a QZERO condition
is met, ensuring the queue is cleared. A new ATI cycle begins once the queue is emptied.

 Purpose: ATI is ideal for automating background processes, such as printing reports or
handling queued data, without requiring user intervention.

IBM +5

Essentially, ATI provides a way for CICS to manage asynchronous, automated, or asynchronous
processing tasks.

Broadcom +1

DB2 Data Type COBOL Equivalen0074

SMALLINT PIC S9(4) COMP or PIC S9(4) COMP-5

INTEGER PIC S9(9) COMP or PIC S9(9) COMP-5

BIGINT PIC S9(18) COMP-5

DECIMAL(p, s) PIC S9(m)V9(n) COMP-3 (where m+n = p and n = s)

REAL USAGE IS COMP-1

DOUBLE / USAGE IS COMP-2


FLOAT
CHAR(n) PIC X(n)

VARCHAR(n) 01 variable-name. 49 variable-name-LEN PIC S9(4) COMP-5. 49 variable-name-TEXT PIC


X(n).

DATE PIC X(10)

TIME PIC X(8)

TIMESTAMP PIC X(26)

GRAPHIC(n) PIC G(n) or PIC N(n) USAGE DISPLAY-1

BLOB/CLOB USAGE IS SQL TYPE IS BLOB/CLOB(n) (often used with locators)

You might also like