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

Procopt Query


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

New User


Joined: 10 Sep 2009
Posts: 68
Location: Liverpool

PostPosted: Fri Aug 26, 2011 6:13 pm
Reply with quote

Hi yaa....

I have the following PSB on my DBD SDP42DBD

PCB TYPE=DB,
DBDNAME=SDP42DBD
PROCOPT=G,
KEYLEN=7
SENSEG NAME=SSP42MPR,
PARENT=0,
PROCOPT=A
SENSEG NAME=SSP42SPR,
PARENT=SSP42MPR,
PROCOPT=A

Now PROCOPT=G on SDP42DBD means that the DBD has read only access.... But its specified in segments as PROCOPT=A which means they have all access.....

Can I still go ahead and Insert a record into this database????
Back to top
View user's profile Send private message
narasimha.g

New User


Joined: 10 Sep 2009
Posts: 68
Location: Liverpool

PostPosted: Fri Aug 26, 2011 6:25 pm
Reply with quote

and one more question is can I just create a PSB on my own and use it in the program???

or is there anything else we need to do before using a PSB
Back to top
View user's profile Send private message
sai1621

New User


Joined: 22 Jan 2010
Posts: 4
Location: Bhubaneswar

PostPosted: Fri Aug 26, 2011 11:18 pm
Reply with quote

1) PROCOPT will have precedence at segment level. The one defined at database level gets overridden with the one at segment level. Hence the insert and all other update operations would work fine with the segment.

2)PSB creation and usage :- You can create a PSB but yet to use it, you need to do a PSB decode using IMS utilities. Also before using these self created PSBs, you need to check with your DBA whether you had provision to use them directly by your programs. Again this would be environment specific.
Back to top
View user's profile Send private message
narasimha.g

New User


Joined: 10 Sep 2009
Posts: 68
Location: Liverpool

PostPosted: Tue Aug 30, 2011 3:07 pm
Reply with quote

Thanks Very much Sai for the reply.... That was very helpful....
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 RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top