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

DB2 Package Bind : Failing with SQLCODE -551


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Santoshkumar Sala

New User


Joined: 18 Jul 2010
Posts: 12
Location: Mumbai

PostPosted: Sun May 13, 2012 6:36 pm
Reply with quote

Hi Team,
Please help me for below issue.

Details:
1) My RACF ID has access to 2 RACF Groups : 1) G10 2) G20

Table 1 has access to G10
Table 2 has access to G20

I am using both the tables in my Program. While binding my Package I get SQL CODE -551.

If the OWNER(G10) is provided in the Package then Table 2 is failing with SQLCODE -551.
If the OWNER (G20) is provided in the Package then Table 1 is failing with SQLCODE -551.

Is there any way to provide multiple OWNER's while binding the package.

Thanks in advance.
Back to top
View user's profile Send private message
rajesh1183

New User


Joined: 07 Jan 2008
Posts: 98
Location: Hyderabad

PostPosted: Mon May 14, 2012 10:47 am
Reply with quote

try creating Synonym as G10.Table2 for the table G20.Table2. And create your package with owner = G10
Back to top
View user's profile Send private message
Santoshkumar Sala

New User


Joined: 18 Jul 2010
Posts: 12
Location: Mumbai

PostPosted: Fri May 18, 2012 12:45 am
Reply with quote

Hi Rajesh,
Thanks for the info.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SMF Record Date conversion failing CLIST & REXX 1
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts Rebind issue - Package DB2 2
No new posts JCL for pl1 db2 precompile, compile a... JCL & VSAM 4
Search our Forums:

Back to Top