View previous topic :: View next topic
|
Author |
Message |
Karen Dianne Palmera
New User
Joined: 08 Feb 2008 Posts: 5 Location: Makati,Philippines
|
|
|
|
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! |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Karen Dianne Palmera
New User
Joined: 08 Feb 2008 Posts: 5 Location: Makati,Philippines
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
Karen Dianne Palmera
New User
Joined: 08 Feb 2008 Posts: 5 Location: Makati,Philippines
|
|
|
|
ah...okay thanks! |
|
Back to top |
|
|
|