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
 

 

SQLCODE -727

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: SQLCODE -727
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    Post subject: Reply to: SQLCODE -727
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: 1715
Location: UK

PostPosted: Wed Aug 14, 2013 1:09 pm    Post subject:
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    Post subject: SQLCODE -727
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: 1738
Location: Bloomington, IL

PostPosted: Wed Aug 14, 2013 3:11 pm    Post subject:
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    Post subject: Resolved: SQLCODE -727
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: 685
Location: Earth

PostPosted: Wed Aug 14, 2013 7:21 pm    Post subject:
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    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 SQLCODE-000000080N priya91 DB2 1 Mon Feb 01, 2016 4:35 pm
No new posts Need to understand SQLCODE = 12 rohanthengal DB2 3 Thu Nov 05, 2015 11:22 am
No new posts SQLCODE -922 in Batch-Cics program tr... kishpra CICS 2 Thu Sep 10, 2015 12:36 pm
No new posts SQLCODE -450 for stored procedure spoorni DB2 3 Fri Jan 16, 2015 2:45 am
No new posts -81 SQLCODE returned when Remote Stor... kameswaramanoj.Akella DB2 1 Wed Dec 03, 2014 5:36 am


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