MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Access a segment which is being updated by other program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
tramasamy
Beginner


Joined: 17 Dec 2002
Posts: 12
Topics: 8

PostPosted: Fri Jan 03, 2003 3:27 pm    Post subject: Access a segment which is being updated by other program Reply with quote

I have one program which is updating a particular segment.Also one more Program is trying to read the values from the same segment. Is it possible to read the values like this..

If so What procopt should i mention in the PCB ?

Ramasamy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Jan 07, 2003 11:16 am    Post subject: Reply with quote

Tramasamy,

I had to dig a few programs to find out the solution for your question. you can use PROCOPT=GO in the second program which does only the read.

Procopt O means read only and does not enqueue to check availability. Selecting PROCOPT=GO, GON, or GOT for DEDBs indicates that read without integrity is in effect. No locking mechanism is used to maintain the integrity of the retrieved data. O must be specified as GO, GON, or GOT, and may not be used in conjunction with H.

For a very small set of applications and data, PROCOPT=GOx offers some performance and parallelism benefits. However, it does not offer application data integrity. For example, using PROCOPT=GOT in an online environment on a full-function database can causeperformance degradation. The T option forces a re-read from DASD, negating the advantage of very large buffer pools and VSAM hiperspace for all currently running applications and shared data.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tramasamy
Beginner


Joined: 17 Dec 2002
Posts: 12
Topics: 8

PostPosted: Tue Jan 07, 2003 12:27 pm    Post subject: Reply with quote

yeap.. I got the point...Thank you !!.

Rams
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group