The Communications between Terminals and CICS

 

The Communications between Terminals and CICS

1.       Define the terminals in the CICS. Each terminal receives a Resource Definition called a Terminal Control Table Terminal Entry (TCTTE) that is stored in the CSD. Each TCTTE contains:

l         A unique 4-character identifier for the terminal

l         The type of terminal

l         The terminal status

l         A pointer to the buffer (TIOA) containing any pending input or output messages

l         An area reserved for use by CICS during processing.

If the Autoinstall process is used, the TCTTE is built dynamically and is defined in the CICS region when the user logs on and a VTAM session is established. The advantage to this process is that terminals are only defined when in use. This means that storage space is decreased since CICS does not need to build TCTTEs for every terminal.

2.       When input is received from a terminal, the message is stored in a control block created dynamically by the CICS Terminal Management module. This control block is called a Terminal Input/Output Area (TIOA), storing messages exchanged between a terminal and an application program. The TIOA contains information about the length of the message, the message itself, and a pointer to the TIOA holding the previous message in the dialog.

3.       In order to associate each message with the appropriate terminal, the addresses of a terminal’s TIOA are stored in the TCTTE for that terminal. Since transactions are initiated form terminals. To do this, the address of the TCTTE for the initiating terminal is stored in the TCA that has been set up for the task. In addition, the address of the TCA is stored in the TCTTE of the initiating terminal.

4.       When a message is sent to a terminal, Terminal Management creates a TIOA to hold the message and transmits it to the terminal.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值