Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Map receive without wait

Status
Not open for further replies.

Pimm

Programmer
Aug 17, 2004
3
DE
My CICS-Application should permanent send information to the screen (map send).
At any time the user should be able to press a button.
Then I should react to this pressing.
If the user doesn't press a button, the program should continue sending information to the screen.
How can I realize that.
A map receive command always means a wait. How can I notice the pressing of the button, without any waiting?
 
Pimm

If by pressing a button you mean one of Enter, Clear, Attn, PA1-PA3, then yes you can probably do something like what you want. But it's going to be really kludgey. If it's any other button, then you are out of luck.

1. Transaction start.
2. Cancel any outstanding IC requests for this terminal.
3. RECEIVE MAP
4. If MAPFAIL, send map with next data
5. Else process user input
6. Transaction starts itself on same terminal, in 5 seconds
7. Transaction ends.

But There has to be a better way to design your application. What is the requirement you are trying to meet?
 
Hi stevexff, it really works. Thank you so much! Pimm.
 
Pimm

No problem. I'm not that happy with the design, but at least it avoids long running transactions. If it does what you want, then that's cool...

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top