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.
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.