Page 1 of 1

PROCOPT=G adn PROCOPT=A in IMS.

Posted: Tue Jan 13, 2015 3:32 pm
by Baskar Ganesan
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?

Re: PROCOPT=G adn PROCOPT=A in IMS.

Posted: Sat Jan 17, 2015 8:44 pm
by Anuj Dhawan
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.

Re: PROCOPT=G adn PROCOPT=A in IMS.

Posted: Tue Jan 20, 2015 9:15 am
by Baskar Ganesan
Thanks, this explains it.

Re: PROCOPT=G adn PROCOPT=A in IMS.

Posted: Tue Jan 20, 2015 2:35 pm
by Anuj Dhawan
Glad, we had been helpful.