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
 

 

AICA abend while trying to Initialize a WS variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
mushreyas

New User


Joined: 18 Jul 2008
Posts: 59
Location: Bangalore

PostPosted: Thu Oct 04, 2012 2:07 pm    Post subject: AICA abend while trying to Initialize a WS variable
Reply with quote

Hi,

I increased the size of a copybook as per the requirement. Due to this increase the size of copybook became 29MB approx. Initially it was 8MB approx. After this change my program is abending with AICA abend code while trying to execute INITIALIZE statement on this copybook.
I have compiled the program with AMODE=31 and RMODE=ANY.

Can you please let me know what the problem ? If i comment out this INITIALIZE statment then the program goes fine.


Thanks.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Thu Oct 04, 2012 2:14 pm    Post subject:
Reply with quote

1. An 8 MB WORKING-STORAGE section in a CICS program is drastically misusing CICS, which should only be handling small amounts of work (transactions) instead of large amounts of work (batches). Going from 8 MB to 29 MB only increases the insanity.

2. CICS has internal timer limits to indicate that a program is looping. It appears your code is now exceeding one of those limits.

3. You can reduce the size of the WORKING-STORAGE section, or you can stop attempting to use INITIALIZE, or you can expect the AICA abends to continue.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Oct 04, 2012 3:31 pm    Post subject: Reply to: AICA abend while trying to Initialize a WS variabl
Reply with quote

What is the purpose of the INITIALIZE in you case? Can you post something representative of your table?

Many, many times I have seen INITIALIZE followed by putting actual data into all the fields of the record. In such circumstances the INITIALIZE is a total waste.

If you are not accumulating values in a Cobol structure, then I see little point in using INITIALIZE.

There is a good chance that your program will work the same, and faster. As Robert has also pointed out, excessive amounts of storage for a CICS program is not such a hot idea anyway.
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 C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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