View previous topic :: View next topic |
Author |
Message |
pradeepa_samay Beginner
Joined: 04 Jun 2004 Posts: 1 Topics: 1 Location: hyderabad
|
Posted: Fri Jun 04, 2004 3:03 am Post subject: PROCOPT |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12388 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Jun 04, 2004 7:03 am Post subject: |
|
|
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 |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Mon Jun 07, 2004 7:48 am Post subject: |
|
|
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 |
|
 |
|
|