# AUTOMATIC TASK INITIATION (ATI) AND TRIGGER LEVEL - IBM Mainframe

ATI is a facility through which a CICS transaction can be initiated automatically. While defining the DCT entry, the two options TRIGLEV and TRANSID will determine which task is to be initiated and when. Or in other words, the task name specified in the TRANSID option is initiated automatically when the number of records written in the TDQ reaches the number specified in the TRIGLEV option. For example:

The CICS will automatically initiate the transaction TSK1 when the number of entries in the Intrapartition TDQ RMCT reaches 100.