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
 
4 programs accesing the same table at the same time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sajjan jindal
Warnings : 1

New User


Joined: 09 Sep 2007
Posts: 60
Location: india

PostPosted: Sat Aug 08, 2009 12:17 pm    Post subject: 4 programs accesing the same table at the same time
Reply with quote

Hi,

I have a requirement such that the four programs could be accessing the table at the same time.

Is there any facility such that when one program accesses the table the other program will wait. (like suspend)

I was told that the program will fail with an error code of -904.

Regards,
Sajjan Jindal.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Aug 08, 2009 9:05 pm    Post subject:
Reply with quote

Hello,
Quote:


I was told that the program will fail with an error code of -904.

You were told wrong.

Quote:
I have a requirement such that the four programs could be accessing the table at the same time.

It is quite normal to have multiple online and batch programs accessing a common table at the same time. In fact, this is one of the biggest features of having a database. . .

Quote:
Is there any facility such that when one program accesses the table the other program will wait

If you are talking about batch jobs, schedule the jobs to not run concurrently. Your scheduling people will know how to do this.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

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