IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

can someone give a brief of what does PROCOPT=GOTP mean?


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shradha dorugade

New User


Joined: 27 Jul 2011
Posts: 3
Location: INDIA

PostPosted: Thu Jul 28, 2011 11:28 am
Reply with quote

can someone give a brief of what does PROCOPT=GOTP mean?[/Search]
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 28, 2011 11:43 am
Reply with quote

as requested, here are the results of a google [/search]
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Jul 29, 2011 8:46 pm
Reply with quote

While using that PCB from within a program, IMS will allow retrieval calls (G). It will read the segments even if some other program has them marked as updated but not committed (O). If it gets locked out of a segment because of an update from another program, it will wait a moment, then try again (T). It will allow position functioning using the D command code (path calls) (P).

I give you that information in return for a promise that you will never argue with anyone else using it as a reference. Instead, open the "IMS Utilities Reference: System" and read about the options yourself.
Back to top
View user's profile Send private message
shradha dorugade

New User


Joined: 27 Jul 2011
Posts: 3
Location: INDIA

PostPosted: Fri Jul 29, 2011 10:07 pm
Reply with quote

Thanks Dick!

Thanks Ed! Your reply had certainly helped me understand how GOTP actually works even after going through IMS manuals and reading posts out on google. I had read IMS manual as well but couldnt find exact working of GOTP. Thanks again!
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Jul 29, 2011 10:24 pm
Reply with quote

Good to hear.

We use GOTP for all read-only jobs, like report extracts.

We use AP for all update jobs.

For a certain FEW read-only jobs, we use GP, which makes sure we only get committed changes while reading.

The cool thing about the "T", is that it can be coded for. When the lock out occurs, the COBOL program gets a 'GG' status code. So you can make the program go back and try it again several times. There is no U3303 abend in this case.
Back to top
View user's profile Send private message
shradha dorugade

New User


Joined: 27 Jul 2011
Posts: 3
Location: INDIA

PostPosted: Fri Jul 29, 2011 11:06 pm
Reply with quote

Thanks Again! icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts Can you give me examples of programs ... CLIST & REXX 22
No new posts Procopt G -concurrent Read IMS DB/DC 1
No new posts scheduling between OPC and TWS give u... IBM Tools 4
No new posts Getting error on PROCOPT=P option IMS DB/DC 5
Search our Forums:

Back to Top