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

Authorization failure -922


IBM Mainframe Forums -> DB2
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: Thu Sep 20, 2007 8:51 pm
Reply with quote

Hi All

I'm getting authorization failure (sqlcode -922, sqlstate 42505) abend
while retrieving data from DB2 table(simple select query).
I'm invoking a CICS program thru the Java frontend. This CICS program
takes input from Java, retrieves data from DB2 table and sends it back to
Java.

Can anyone tell me what would be the issue icon_question.gif
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Thu Sep 20, 2007 9:21 pm
Reply with quote

Lalit,

You know the reason... 'Insufficient Authority'.

GRANT SELECT access to the UserId that's accessing the tables.

Cheers, T.
Back to top
View user's profile Send private message
lalit.bakde

New User


Joined: 12 Jul 2006
Posts: 7

PostPosted: Fri Sep 21, 2007 4:22 pm
Reply with quote

Twissi,

Thanks.
Is there any way to check the access rights for the UserId which
I am using for connecting to CICS. Since my ID has access
to use SPUFI for select. If so, how to get that access right..?
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Fri Sep 21, 2007 4:39 pm
Reply with quote

Identify which user id's accessing the table and request your system support guys to GRANT the right access to that Id.

To know the group level access, you could use TSO LU <UserId>.

Twissi.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts how to solve this power failure shutd... ABENDS & Debugging 5
No new posts IMS Restart Failure IMS DB/DC 4
No new posts Auto ticketing of a job failure ABENDS & Debugging 1
No new posts Authorization error on FTP All Other Mainframe Topics 2
No new posts Copy a dataset without authorization TSO/ISPF 15
Search our Forums:

Back to Top