Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
PROCOPT in PSB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: PROCOPT in PSB
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    Post subject:
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    Post subject:
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.

http://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    Post subject:
Reply with quote

And....please read

http://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    Post subject: Reply to: PROCOPT in PSB
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error on PROCOPT=P option Raghu navaikulam IMS DB/DC 5 Wed Mar 23, 2016 5:55 pm
No new posts Will ""PROCOPT = A"&qu... VarunJ1991 IMS DB/DC 2 Mon Mar 11, 2013 9:56 pm
No new posts Procopt Query narasimha.g IMS DB/DC 3 Fri Aug 26, 2011 6:13 pm
No new posts can someone give a brief of what does... shradha dorugade IMS DB/DC 5 Thu Jul 28, 2011 11:28 am
No new posts PROCOPT option for GSAM database rockish IMS DB/DC 2 Mon Aug 02, 2010 8:30 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us