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

Memory Exception


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

New User


Joined: 07 Mar 2007
Posts: 5
Location: chennai

PostPosted: Thu Feb 19, 2015 9:23 pm
Reply with quote

I have a programme (say C) which writes to CWA.

Programme C is being called by programme B and Programme B is being called by prog A.

A -> B -> C (writes to CWA)

From my initial analysis i came to know its the EXECKEY attrib paramter while defining prog B which needs a change, change to CICS from the default USER. Still it failed, but worked when i changed the KEY of prog A as well to CICS.

1. Does all attribute paramemter of all the programmes in the flow leading to Prog C need to be changed?

2. I wonder if this is real issue? As the same programme works with EXECKEY as USER (for Prog A and B) in Prod. (Cics version in Prod is 3.1 whereas in test where it failed is 5.1). Does it got something to do with the version?

3. I as well don't understand where do we see CWAKEY parameter can be seen for my application region.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Feb 19, 2015 10:23 pm
Reply with quote

Hello,

Ask your System Personnel about the CWA's "Execution Key".

Or, if you'd like, review the following excerpt. The "CWAKEY" is a parm which can be specified in the CICS System Initialization Table (SIT), which is maintained (hopefully) by your System Personnel.

CWAKEY
The CWAKEY system initialization parameter specifies the storage key for the
common work area (CWA) if you are operating CICS with storage protection
(STGPROT=YES).

CWAKEY={USER|CICS}

You specify how much storage you want for the CWA on the WRKAREA
parameter. The permitted values are USER (the default), or CICS:

USER CICS obtains storage for the CWA in user key. This allows a user
program executing in any key to modify the CWA.

CICS CICS obtains storage for the CWA in CICS key. This means that only
programs executing in CICS key can modify the CWA, and user-key
programs have read-only access.

If CICS is running without storage protection, the CWAKEY parameter is
ignored, and the CWA is always allocated from CICS-key storage.

User Storage is sometimes referred to as Key 9, whereas, CICS Storage is sometimes referred to as Key 8.

Welcome to the forum....

Regards,
Back to top
View user's profile Send private message
rakhin

New User


Joined: 07 Mar 2007
Posts: 5
Location: chennai

PostPosted: Fri Feb 20, 2015 5:33 pm
Reply with quote

Thank You Bill.
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 Check data with Exception Table DB2 0
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts Access an specific memory address exp... COBOL Programming 1
No new posts Exception Filter CA Products 0
No new posts DSNTEP2 - setting exception DB2 2
Search our Forums:

Back to Top