Posted: Thu Jan 16, 2003 8:19 am Post subject: assigning terminal id to transaction in CICS program
Newbie
Joined: 07 Jan 2003 Posts: 2
I have MQseries triggered CICS program. This program when triggered by MQ series is not assigned a Terminal id by CICS. I transfer control from this program to another through XCTL command. how can I assign a terminal id to the transaction of my program ? Does anyone know how to assign a terminal id to the transaction in XCTL command or otherwise in a CICS program.
The question really is why do you need a terminal id? Is it to provide a unique identifier for creating temporary storage names or because you need to communicate with a real terminal?
You could use the MQ-CICS 3270 bridge if you are using legacy 3270 based transactions.
You can't assign a terminal to an existing non terminal UOW but you could use START instead of XCTL to invoke your program in a new transaction with a terminal id.
You could look at the CICS LINK3270 facilities for creating a virtual terminal.
This is really a CICS rather than MQ based questions so you might have better luck asking your question again on a CICS discussion group such as: news://news.software.ibm.com/ibm.software.cics.z-os _________________ Bob Buxton
Ex-Websphere MQ Development
The way a task is started decides whether a terminal is needed or not ... and as you have it triggered you don't get a terminal Id because CICS thinks YOU DON'T NEED ONE.
There maybe some design issue there (why do you need a terminal at all) we'll need more details on this to find a right answer
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum