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


32K Commarea limit.

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

New User

Joined: 24 Sep 2005
Posts: 1
Location: Kansas City

PostPosted: Sat Sep 24, 2005 4:42 am    Post subject: 32K Commarea limit.
Reply with quote

I would like to get some advice on how to get around the 32K Comm-area.

I don't really want to read and write to temp storage or transient data queues due to the volume of records.

I thought about passing a pointer address , but I am not real familiar with passing addresses. Can I pass the address in my exec cics link.... statement? If so, what would I need to do to set that up?

Any other ideas would be appreciated.

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


New User

Joined: 07 Sep 2005
Posts: 49

PostPosted: Mon Sep 26, 2005 8:46 pm    Post subject:
Reply with quote

You may store the address of the working storage group which you intend to pass to the called program in a S9(08) COMP variable and pass the address variable as COMMAREA to the called program.

In the called program, the address will be present in the COMMAREA which you may use point to the group variable in the linkage section which has the same layout as that in the calling program.

This may used only when calling using LINK. If you are calling the program using XCTL, then you may initially perform a GETMAIN, populate it with the values you intend to pass and then pass the address of the GETMAINed area to the calling program. This is because the area obtained by CICS for the calling program is released during XCTL. If a FREEMAIN is not done, then the area obtained using GETMAIN is released only at the end of the task.
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 Commit limit for Delete query through... mf_karthik DB2 10 Thu Dec 17, 2015 12:56 am
No new posts Array overflow on Internal table - An... scdinesh COBOL Programming 13 Thu May 22, 2014 2:55 am
No new posts To set record limit for each include ... karthickpearl DFSORT/ICETOOL 8 Tue Apr 15, 2014 6:02 pm
No new posts Buffer limit reached while handling h... rajendra kalepu COBOL Programming 32 Mon Mar 31, 2014 7:29 pm
No new posts Syncsort - Limit Records Whe... Paresh123 SYNCSORT 5 Wed Jan 22, 2014 12:59 am

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