Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 Package Bind : Failing with SQLCODE -551

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DB2 Package Bind : Failing with SQLCODE -551
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts TSO Logon Failing - Acount Not matching SLNewton TSO/ISPF 1 Thu Aug 25, 2016 9:37 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm
No new posts What's plan, package, bind ? jackzhang75 DB2 2 Sun Feb 28, 2016 7:29 pm
No new posts SQLCODE-000000080N priya91 DB2 1 Mon Feb 01, 2016 4:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us