IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

SQLCODE -727


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

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Wed Aug 14, 2013 12:44 pm
Reply with quote

Hi,
I am getting SQLCODE -727 on executing a Stored Procedure on DB2/AIX server. No other message is displayed in abend log. Can anyone please suggest what is this error and possible solutions. I tried searching on internet but no result.

Thanks in advance

Regards,
Satish
Back to top
View user's profile Send private message
Satish5

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Wed Aug 14, 2013 12:48 pm
Reply with quote

Also this procedure is running fine in test environment but abending in production environment.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2429
Location: Hampshire, UK

PostPosted: Wed Aug 14, 2013 1:09 pm
Reply with quote

You tried the internet but did you try the manual? Have you got a reson code? How does this relate to mainframe?
Back to top
View user's profile Send private message
Satish5

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Wed Aug 14, 2013 1:13 pm
Reply with quote

Yes I searched through manuals also but did not get reason code or any other relevant information. Infact this SQLCODE -727 is not even listed on SQL codes list.

This is not running on mainframe. I apologize for posting on mainframe forum. But I am badly stuck and desperate to get any solution or even any hint on solving this issue. Any help would be appreciated.

Regards,
Satish
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1789
Location: Bloomington, IL

PostPosted: Wed Aug 14, 2013 3:11 pm
Reply with quote

See if this helps.
Back to top
View user's profile Send private message
Satish5

New User


Joined: 12 Nov 2007
Posts: 38
Location: Texas, USA

PostPosted: Wed Aug 14, 2013 4:32 pm
Reply with quote

Hi,
Issue was that user did not have access to a particular table acccessed in proc. It is reolved now. Thanks for resposne.

Thanks for the help.

Regards,
Satish
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Wed Aug 14, 2013 7:21 pm
Reply with quote

Quote:
Issue was that user did not have access to a particular table acccessed in proc.

My understanding is that you just need to have EXECUTE access to the stored proc. Access on underlying tables is not required. That's one of the feature makes stored procedures secure. Users are prevented from manipulating the underlying data through normal SQL.
I am glad that your issue is resolved but I doubt it was due to access issue on underlying tables.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts SQLCODE=-204 SQLSTATE=42704 DB2 4
No new posts Getting sqlcode 805 while executing R... DB2 10
No new posts SQLCODE -950 in PREPARE statement ... DB2 2
No new posts How to resolve sqlcode of CALL ATTACH... DB2 3

Back to Top