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

32K Commarea limit.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
Reply with quote

Hello,
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
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Mon Sep 26, 2005 8:46 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CICS COMMAREA CICS 3
No new posts Expand ISPF field up to a limit - is ... TSO/ISPF 9
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
No new posts Any limit on usage of cursors ? DB2 1
This topic is locked: you cannot edit posts or make replies. Removing duplicate record based on th... DFSORT/ICETOOL 4
Search our Forums:

Back to Top