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

CICS/COBOL program works in CICS region 1 but not in region3


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Karen Dianne Palmera

New User


Joined: 08 Feb 2008
Posts: 5
Location: Makati,Philippines

PostPosted: Tue Feb 12, 2008 1:43 pm
Reply with quote

What could possibly cause this -922 error in my CICS/COBOL program?

-We have defined program PGM1ACOO, map MAP1A & transaction ID TEST in CICS region 3 & CICS region 1.
-We have also defined plan PGMPLAN & transaction ID TEST in RCT definition.
-We have compiled RCT.
-We have restarted both regions. (DOWN-UP CICS Region 1 & CICS Region 3)
-We have given all the grants to the tran ID and plan.
-Then did program compilation, bind and new copy.

When executing the transaction ID in CICS Region 1, the program is working including all the sql select. But when the transaction ID is invoked in CICS Region 3, the program returns a -922 error when selecting from the table. Region 3 cant seem to get the plan and login/userid to be used in sql select.

Example:
P.AUTH=AW02 ---> instead of username
PLAN=DEFAULT ---> instead of PGMPLAN
...
SQLERRMC = 'PLAN ACCESS,00F30034'

The userid is working since, same userid is used for both CICS Region 1 & 3.

What could be triggering the problem?

thanks! icon_question.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 12, 2008 8:46 pm
Reply with quote

You should be talking to your DBA and/or security people...
-922 AUTHORIZATION FAILURE: error-type ERROR. REASON reason-code
Explanation: Authorization failed because of the error indicated by 'error-type'
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: Tue Feb 12, 2008 9:17 pm
Reply with quote

Hello,

Quote:
The userid is working since, same userid is used for both CICS Region 1 & 3.

What could be triggering the problem?
The 2 cics regions have different "rules".

As suggested, you should talk with the database and/or security people.
Back to top
View user's profile Send private message
Karen Dianne Palmera

New User


Joined: 08 Feb 2008
Posts: 5
Location: Makati,Philippines

PostPosted: Wed Feb 13, 2008 6:16 am
Reply with quote

As of the grants (Database Admin), grants are already given to the plan, username & transaction ID since, the program can do SQL select in CICS Region 1.

Does it mean that there is a separate granting for different CICS regions?

As we have checked, Both CICS Regions definition are the same. Where can we find the CICS ruling?

thanks!
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Feb 13, 2008 6:22 am
Reply with quote

Karen Dianne Palmera wrote:
Does it mean that there is a separate granting for different CICS regions?
Usually, yes....
Quote:
As we have checked, Both CICS Regions definition are the same.
Well, something is different..... Explore that direction....
Quote:
Where can we find the CICS ruling?
Sorry, I am just the CICS guy, that question is more for the DBAs and RACF guys...grin....
Back to top
View user's profile Send private message
Karen Dianne Palmera

New User


Joined: 08 Feb 2008
Posts: 5
Location: Makati,Philippines

PostPosted: Tue Feb 19, 2008 7:52 am
Reply with quote

ah...okay thanks! icon_lol.gif
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top