View previous topic :: View next topic
|
Author |
Message |
enileshk Warnings : 1 New User
Joined: 05 Feb 2006 Posts: 7 Location: India
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
This must be a "class learning" question. Why would you do both? Just specify for each segment. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
mkarthikeyan
New User
Joined: 07 Aug 2008 Posts: 34 Location: Bangalore
|
|
|
|
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 |
|
|
|