IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is it possible to SEND TEXT messages to specific terminal ?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Aug 24, 2011 3:52 pm
Reply with quote

Hi All,

This is in continuation with my previous post. Since this is kind of a different question, guessing this should be another post ... icon_wink.gif

My query is ... Is it possible to do a SEND TEXT or any kind of display to a specfic TERMINAL from a non-terminal task.

Like suppose I say, a task has been initiated using the START command and I know for sure a terminal , say T001, is active terminal for the CICS region. The STARTed task could be
1. associated with T001 itself
2. associated with some other terminal
3. not associated with any other terminal (START done without TERMID option)
Is it possible to send a message ( using SEND TEXT preferrably ) to the T001 terminal itself.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 24, 2011 4:02 pm
Reply with quote

Binop,

If the task that's attempting to issue SEND TEXT API's is not attached to a terminal, then the most straightforward method is to START another task, using the TERMID option (the target terminal).

IIRC, if a task is not assigned to a termid, then there was a rather "different" method of issuing SEND API's to a designated termid, via the ROUTE API. But it's been a while since I've seen or done it this way.

Bill
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Aug 24, 2011 4:23 pm
Reply with quote

Hi Bill,

Thanks a lot again... icon_smile.gif

Will look into the ROUTE API to do the display... will post the results soon ...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 24, 2011 5:52 pm
Reply with quote

Quote:
Is it possible to do a SEND TEXT or any kind of display to a specfic TERMINAL from a non-terminal task.
You are starting down a very risky path, IMHO. In these days of dynamic terminal allocation and deallocation, what happens to your task (and the region) when you attempt to send a message to a terminal that is not even defined to the CICS region at the time? What happens if that terminal is allocated to a data entry clerk -- will that person know what to do when the data input function is interrupted by your message? Will that person even SEE the message or will the person just hit the ENTER key hit to get to the next input screen?

If you have not done so, you REALLY need to talk to your CICS support person (or group) about exactly what you are attempting to accomplish and get some assistance in determining the best way to accomplish your goal.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Aug 24, 2011 6:07 pm
Reply with quote

Hi Robert,

Apologies if I gave the wrong idea ...

While posting the query I had just mentioned it as a random terminal. The actual scenario is am initiating a task, which based on a CWA variable might create one or more STARTed tasks to do the necessary processing. The output from all this should come to the terminal from where the first task was initiated. Was planning to send the Terminal ID to the new tasks and then use it there to ROUTE the messages back to the main terminal.

Hi Bill,

Made the ROUTE API to work to send a message to a TERMINAL which is not associated with the task.... icon_biggrin.gif .. Thanks a ton again ... Need to now fine tune and see if the same fits for my client system .. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts TEXT-TO-PDF Compuware & Other Tools 1
This topic is locked: you cannot edit posts or make replies. Construct new record using specific f... DFSORT/ICETOOL 6
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts help send file AFT CONTROLM EM IBM Tools 0
Search our Forums:

Back to Top