IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

How to resolve the sqlcode -922 in CICS DB2 Program

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
View previous topic :: View next topic  
Author Message
Arunkumar R S R



Joined: 06 Aug 2008
Posts: 14
Location: US

Posted: Wed Aug 06, 2008 2:22 am    Post subject: How to resolve the sqlcode -922 in CICS DB2 Program  

Can u please let me know how to resolve the sqlcode -922 in CICS DB2 Program.
Back to top  
dick scherrer



Joined: 23 Nov 2006
Posts: 8733
Location: 221 B Baker St

Posted: Wed Aug 06, 2008 2:41 am    Post subject:  

Hello,

It is an authorization/security problem. You need to check with your security people or your dba.

You should also become familiar with the "IBM Manuals" link at the top of the page. Among the documentation is the DB2 Messages and Codes manual which will save you time waiting on replies from the forum.

If you find something in any of the manuals that is not clear, post it here and your question about it. Someone will be able to help.
Back to top  
vinit_infy



Joined: 07 Apr 2005
Posts: 43

Posted: Wed Aug 06, 2008 11:06 pm    Post subject: Reply to: How to resolve the sqlcode -922 in CICS DB2 Progra  

probably your RCT entries are not good. Please check with the cics administrator if your cics transaction is defined with the correct DB2 PLAN you are trying to invoke.
Back to top  
Arunkumar R S R



Joined: 06 Aug 2008
Posts: 14
Location: US

Posted: Wed Aug 06, 2008 11:50 pm    Post subject:  

Yes, Correct. It is the problem with RCT entries only. we looked into the RCT and the entrie was made wrongly. The DB2 plan which was defined for the CICS transaction is not correct. We requested the CICS admin to define the DB2 plan to the corresponding transaction.
Thanks for your response.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM