MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

plan authorisation error.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
VINAY19
Beginner


Joined: 14 Jan 2008
Posts: 4
Topics: 2

PostPosted: Fri Jan 25, 2008 8:03 am    Post subject: plan authorisation error. Reply with quote

Hi all,

I am testing cobol-cics-db2 program. I have compiled, bound the program successfully. I know i have access to the plan to which the program is bound also the collection id bound to this plan is valid for the tables which are accessed in the program.

But the problem is when i try running the program in CICS test region I am getting SQLCODE as -922 for an open cursor statement.

Can anyone tell me what might be the cause for the problem. I feel it has something to do with the region. I am new to cics so if anyone can let me is there anything like we need to bind the region to that plan???

Also how do i check the RCT entry for this program.
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Mon Jan 28, 2008 3:46 am    Post subject: Reply with quote

VINAY19,

What is the SQLERRMC code in your error message? Do a QW with the SQLERRMC code and it will give yo the reason for failure.

You can check the below link for more explanation.

http://www.mvsforums.com/helpboards/viewtopic.php?t=4743&highlight=sqlcode+922
Back to top
View user's profile Send private message Send e-mail
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Mon Jan 28, 2008 10:41 am    Post subject: Reply with quote

You also need to be aware of dynamic plan selection. Look through the RCT discussion in the CICS Resource Definition Guide.
Back to top
View user's profile Send private message
VINAY19
Beginner


Joined: 14 Jan 2008
Posts: 4
Topics: 2

PostPosted: Tue Jan 29, 2008 7:06 am    Post subject: Reply with quote

thanks a lot for ur replies...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group