View previous topic :: View next topic
|
Author |
Message |
Randy Mortell
New User
Joined: 24 Sep 2005 Posts: 1 Location: Kansas City
|
|
|
|
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 |
|
|
mallikiran
New User
Joined: 07 Sep 2005 Posts: 49
|
|
|
|
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 |
|
|
|