# Detailed Flow of CICS Transaction

The following describes the flow of the CICS RED transaction.

1. Substation ES receives an ESB message.
2. Substation ES formats the CICS input area that the program or transaction is expecting.
3. Substation ES sends the input area to CICS RED.
4. CICS RED uses input area and Substation ES request to execute the function.
5. CICS RED replies using user response data to Substation ES for reply method of 1, 2, or 3.
6. Substation ES formats the ESB message from CICS RED response data.
7. Substation ES sends the ESB message.

The following figure lists the detailed flow of CICS transaction:

Copyright © TIBCO Software Inc. All rights reserved.