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

PROCOPT in PSB


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

New User


Joined: 05 Feb 2006
Posts: 7
Location: India

PostPosted: Sat Aug 21, 2010 9:24 pm
Reply with quote

Hi,

We can specify PROCOPT for DB(database) as well as Segment. If we specify PROCOPT on both, which will be taken into consideration?

Thanks,
Nilesh
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sun Aug 22, 2010 10:22 pm
Reply with quote

This must be a "class learning" question. Why would you do both? Just specify for each segment.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sun Aug 22, 2010 11:14 pm
Reply with quote

Here's a good link for everyone - it supports SAS, but has some very useful information. Also, think about JOBLIB and STEPLIB in your JCL.

support.sas.com/documentation/cdl/en/acims/59519/HTML/default/phydbs.htm
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sun Aug 22, 2010 11:25 pm
Reply with quote

And....please read

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims10.doc.sur/ims_psbgendlipcbstmt.htm

If you do not specify the PROCOPT parameter, it defaults to PROCOPT=A. The replace and delete functions also imply the Get function.

A user abend (U8XX) from the retrieve module (DFSDLR00) can occur with PROCOPT=GO if another program updates pointers when this program is following the pointers. A U0800 or U0852 abend can also occur in the VLEXP routine, or in the retrieve module, if an invalid compressed segment is detected. Pointers are updated during the insert and delete functions and during replacement of a variable-length segment. To reduce the number of abends of this type, code the PROCOPT= parameter with an N or a T.
Back to top
View user's profile Send private message
mkarthikeyan

New User


Joined: 07 Aug 2008
Posts: 34
Location: Bangalore

PostPosted: Thu Aug 26, 2010 2:52 am
Reply with quote

When you specify PROCOPT @ segment level, it applies to that segment only. ie it overrides PROCOPT specified @ PCB

eg

PCB TYPE=DB,DBDNAME=ACCTDBD,PROCOPT=A, X
KEYLEN=23
SENSEG NAME=CUSTOMER,PARENT=0
SENSEG NAME=CHCKACCT,PARENT=CUSTOMER,PROCOPT=G

You can read segment CHCKACCT, where all option are available for segment CUSTOMER
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 Procopt G -concurrent Read IMS DB/DC 1
No new posts Getting error on PROCOPT=P option IMS DB/DC 5
No new posts Will ""PROCOPT = A"&qu... IMS DB/DC 2
No new posts Procopt Query IMS DB/DC 3
No new posts can someone give a brief of what does... IMS DB/DC 5
Search our Forums:

Back to Top