Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Is it possible to SEND TEXT messages to specific terminal ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Is it possible to SEND TEXT messages to specific terminal ?
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 24, 2011 4:02 pm    Post subject: Reply to: Is it possible to SEND TEXT messages to specific t
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Aug 24, 2011 5:52 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us