Hi,
When we want to browse an IMS database we code PROCOPT=G in the PCB. What would happen if we are still just browsing a database though have used PROCOPT=A. Why dont we do this?
PROCOPT=G adn PROCOPT=A in IMS.
-
- Registered Member
- Posts: 14
- Joined: Thu Jul 17, 2014 8:33 pm
- Anuj Dhawan
- Founder
- Posts: 2801
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: PROCOPT=G adn PROCOPT=A in IMS.
The difference lies in locking. With procopt 'A', if you issue GN or GU calls - You may well lock out other applications that are trying to read segments in the same "physical block". OTOH, a procopt of 'G' might lock out update or delete requests but will not lock out reads.
Hope that explains what you need.
Hope that explains what you need.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 14
- Joined: Thu Jul 17, 2014 8:33 pm
- Anuj Dhawan
- Founder
- Posts: 2801
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: PROCOPT=G adn PROCOPT=A in IMS.
Glad, we had been helpful.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute