---
title: "CICS ATI, START Real time Macros for new programmers"
description: "Command macros to be used in CICS for ATI and START functions"
url: https://srinimf.com/2015/07/14/mainframe-cics-ati-start-an-example/
date: 2015-07-14
modified: 2018-04-21
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2018/04/healthy-person-woman-sport-e1524324595195.jpg?fit=624%2C570&ssl=1
categories: ["CICS Tips"]
tags: ["CICS tips and Tricks"]
type: post
lang: en
---

# CICS ATI, START Real time Macros for new programmers

Life cycle of START Command in [CICS](http://srinimf.com/2015/07/12/mainframe-advanced-cics-for-senior-software-developers1-of-5/) as follows. START command executes through ATI (Automatic time ordered transaction initiation)

- A user task issues a START command that’s processed by interval control.
- Interval control creates an ICE that indicates the trans-id, expiration time, and terminal-id for the task to be started.
- If data is passed to the started task, interval control invokes temporary storage control to save that data.
- Temporary storage control saves the data in the temporary storage file.

**Different START commands:**

**A command that schedules a task for immediate execution**

EXEC CICS

START TRANSID(‘LST1’)

END-EXEC.

**A command that attaches the task to a terminal**

EXEC CICS

START TRANSID(‘LST1’)

TERMID(‘L86R’)

END-EXEC.

**A command that uses the TIME option to specify an expiration time**

EXEC CICS

START TRANSID(‘LST1’)

TIME(‘170000’)

END-EXEC.

**A command that uses the INTERVAL option to specify an expiration time**

EXEC CICS

START TRANSID(‘LST1’)

INTERVAL(001600)

END-EXEC.

**A command that uses the AT option to specify an expiration time**

EXEC CICS

START TRANSID(‘LST1’)

AT HOURS(10) MINUTES(45)

END-EXEC.

**A command that uses the AFTER option to specify an expiration time**

EXEC CICS

START TRANSID(‘LST1’)

AFTER MINUTES(1) SECONDS(32)

END-EXEC.

**A command that passes data to the started task**

EXEC CICS

START TRANSID(‘LST1’)

FROM(ITEM-NUMBER1)

END-EXEC.

**Also read**

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F14%2Fmainframe-cics-ati-start-an-example%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2018%2F04%2Fhealthy-person-woman-sport-e1524324595195.jpg%3Ffit%3D624%252C570%26ssl%3D1&description=CICS%20ATI%2C%20START%20Real%20time%20Macros%20for%20new%20programmers)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/07/14/mainframe-cics-ati-start-an-example/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/07/14/mainframe-cics-ati-start-an-example/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/07/14/mainframe-cics-ati-start-an-example/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/07/14/mainframe-cics-ati-start-an-example/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20CICS%20ATI%2C%20START%20Real%20time%20Macros%20for%20new%20programmers&body=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F14%2Fmainframe-cics-ati-start-an-example%2F&share=email)
-

### Like this:

Like Loading…
