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
 
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 How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts SQLCODE 518 while executing DB2 module. abdulrafi DB2 8 Wed Feb 07, 2018 10:46 am
No new posts SQLCODE=100 and SQLSTAE 02000 pshongal DB2 12 Fri Jan 19, 2018 10:14 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm

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