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

AICA abend while trying to Initialize a WS variable


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Oct 04, 2012 2:14 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Oct 04, 2012 3:31 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top