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 

PROCOPT

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


Joined: 04 Jun 2004
Posts: 1
Topics: 1
Location: hyderabad

PostPosted: Fri Jun 04, 2004 3:03 am    Post subject: PROCOPT Reply with quote

Hello,

I now the below are fundamental questions, but would help to improve my
knowledge.

When we use just browse an IMS database we code PROCOPT=G in the PCB.
what happens if we are just browsing a database and still code
PROCOPT=A.
why dont we do this?

Also please let me know what are PROCOPT's GP , GO ? how are they diferent from PROCOPT G.


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


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

PostPosted: Fri Jun 04, 2004 4:18 am    Post subject: Reply with quote

pradeepa_samay,

Check this link which explains in detail about all the PROCOPTS

http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DFSU30E1/1.2.3.2.1?DT=20010420130622#HDRPROFAST

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Fri Jun 04, 2004 7:03 am    Post subject: Reply with quote

Procopt 'A' will lock IMS database blocks with a higher intent that procopt 'G'. Basically, this means that you may well lock out other applications that are trying to read segments in the same physical block if you are just issuing GN or GU calls with procopt 'A'. A procopt of 'G' may lock out update or delete requests but will not lock out reads.

A procopt of GO will not issue any locks but may have occasional problems if segments are compressed.

If you are reading many segments but only updating or deleting a few, use 2 different PCBs, one with procopt of 'G' to read the database and another with procopt of 'A'. Issue a GHU on this second PCB once you have determine that a change is required, then issue the change in the normal fashion.
Back to top
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Mon Jun 07, 2004 7:48 am    Post subject: Reply with quote

PROCOPT GP(or P with any procopt) is used if you do any path call. ie if the SSA use the command code 'D' Using path call you can retrieve multiple segment using one call. Although not recommended.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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