If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Sqlcode -922

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-05-04, 02:24
ashtyu ashtyu is offline
Registered User
 
Join Date: Oct 2002
Posts: 11
Sqlcode -922

CICS-COBOL-DB2 application, which we have developed new, we are getting the error sqlcode = -922.

Here we are fetching data from DB2 table. (only select statement)

We have created plan and package for the programs.

What could be the cause of error, do we require some settings at CICS level or grant previledges for DB2 objects ?

DB2 manual says its Authorization failure.

Thanks & Regards

Ashtyu
Reply With Quote
  #2 (permalink)  
Old 02-05-04, 05:47
Walter Janissen Walter Janissen is offline
Registered User
 
Join Date: Nov 2003
Location: Germany
Posts: 62
Hi

What is the reason code associated with this SQLCODE? I suppose, the person, who wants to execute that plan, does not have the execute privilege for it.
Reply With Quote
  #3 (permalink)  
Old 02-05-04, 05:56
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you have not used CICS/DB2 before, you need to look at setting up the RCT table in CICS to establish the DB2-CICS attach.

For starters (and to find other references) refer to the DB2 Administration Guide, CICS design options.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On