Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us