Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Memory Exception

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Memory Exception
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Feb 19, 2015 10:23 pm    Post subject: Reply to: Memory Exception
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm
No new posts Facing xml parser exception 798761 murugan_mf COBOL Programming 17 Sat Apr 30, 2016 1:27 pm
No new posts Exception Handling in Native Stored P... Mariraj DB2 1 Thu Feb 25, 2016 4:08 am
No new posts issues with memory in programs with c... sivakumar.karthik CICS 4 Thu Aug 13, 2015 8:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us