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

more than one queue tries to access same data.


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

New User


Joined: 20 Jul 2006
Posts: 3
Location: Hyderabad

PostPosted: Tue Sep 04, 2007 3:33 pm
Reply with quote

Can anyone tell me , what will happen if more than one queue tries to access same data at the same time? icon_biggrin.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Sep 04, 2007 3:38 pm
Reply with quote

You need to expand your question....
What kind of "queue"?
What kind of "data"?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Sep 04, 2007 3:48 pm
Reply with quote

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
View user's profile Send private message
rrakeshr12

New User


Joined: 20 Jul 2006
Posts: 3
Location: Hyderabad

PostPosted: Tue Sep 04, 2007 4:29 pm
Reply with quote

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
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Tue Sep 04, 2007 10:25 pm
Reply with quote

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
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Sep 05, 2007 2:43 am
Reply with quote

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
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 How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top