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

Getting -922 when invoking thru java


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lalit.bakde

New User


Joined: 12 Jul 2006
Posts: 7

PostPosted: Fri Sep 21, 2007 10:37 pm
Reply with quote

Hi

If you are using SQL selects in your CICS prog, can you tell
me whether you get authorization failure -922, when invoking thru
Java. If not, can you tell which parameters are needed(mandatory)
in Java for successful execution of SQLs in CICS code. icon_exclaim.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 21, 2007 10:44 pm
Reply with quote

Hello,

When you have a new question, please start a new topic for your question.

The -922 is a security violation and you will need to talk with the DBA(s) and/or security admin people to have the necessary permissions granted to the usereid(s) that will be used by the java interface. When db2 "sees" the request, it validates the userid permissions, not the external interface (i.e. java).
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts building java class with zip4j.jar on... Java & MQSeries 0
No new posts Java and mainframe. General Talk & Fun Stuff 0
No new posts CICS / JAVA - Setup of definitions CICS 0
Search our Forums:

Back to Top