View previous topic :: View next topic
|
Author |
Message |
rrakeshr12
New User
Joined: 20 Jul 2006 Posts: 3 Location: Hyderabad
|
|
|
|
Can anyone tell me , what will happen if more than one queue tries to access same data at the same time? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
You need to expand your question....
What kind of "queue"?
What kind of "data"? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
queues do not access data. queues are accessed for their data.
if you mean what will happen if the same queue is accessed for the same item by two different tasks? The first task will acquire the queue item, the second task will receive a NOTFND. |
|
Back to top |
|
|
rrakeshr12
New User
Joined: 20 Jul 2006 Posts: 3 Location: Hyderabad
|
|
|
|
ohh .... srry for framing the question wrongly...
ya i wanted to know what will happen if more than one task try to access the same queue. ...
what is happening with me is....we have a PRINT ALL function in the online system where in if a user issues PRINT ALL he would get the physical prints for all the available screens. But somehow this whole processing is linked in such a way that more than one TASKS are trying to access to data written to the print Queue. As a result of which sometimes we get the prints with missing lines and sometimes some screen would be missing or sometimes we get nothing in Print. But the process would not abend saying NOTFOUND.
Is this situation possible?. Correct me if i am wrong in saying what is happening above. |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
The primary question for you is: Is the transaction invoked by the command PRINT ALL checking for the condition NTFND?
Your comment
Quote: |
But the process would not abend saying NOTFOUND |
seems to indicate that it does not.
After all, the processes can throw all the error codes they want, but if the controlling process ignores the warnings, they won't be seen. |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
I've worked with CICS for 30+ years, never heard of a PRINT ALL function, is that a selection available from a 3270 screen?
How does this print function work, does it use transient data queues with
trigger' option? |
|
Back to top |
|
|
|