Not sure why your doing the RETRIEVE,
Basically:
1) Is there a Common area? (EIBCALEN>0)
2) If so, is it of the size required? (EIBCALEN=size required or >=)
3)
Get the
address of the COMMAREA:
EXEC CICS
ADDRESS,
*
COMMAREA(COMMBAR)
*
NOHANDLE.
Get address of CommArea
4)
Does it
contain an 8-bit identifier at the beginning?
|
Frank M. Ramaekers Jr. |
|
(That should read 8-byte identifier, not 8-bit) J
|
Frank M. Ramaekers Jr. |
|
Am I to assume that you will be moving your COMMON AREA to the GETMAIN’ed area? Not sure why the duplication.
If you have ensured that the EIBCALEN is large enough to be handled by your program, you should be good to go.
|
Frank M. Ramaekers Jr. |
|
From: owner-vs...@Lehigh.EDU [mailto:owner-vs...@Lehigh.EDU] On
Behalf Of indust...@winwholesale.com
Sent: Wednesday, August 18, 2010
9:18 AM
To: VSE Discussion List
Subject: CICS Command-Level Gurus
I've started doing
something similar to the following at the beginning of my programs, lately, and
it seems to work just fine. However, I wanted to run it past you guys to
see if it is kosher and/or advisable to continue in this fashion. Basically,
I do this so that a single LINKAGE SECTION communication area is all that is
needed and can always be depended upon to be there without storage violations.
EXEC CICS RETURN
TRANSID(EIBTRNID)
COMMAREA(COMAREA)
LENGTH(COMLEN) ,
Ken Meyer
CSI
On Wed, 18 Aug 2010 13:21:52 -0400
indust...@winwholesale.com wrote:
snip..
Dave,
I have experienced issues, albeit awhile back trying to modify EIB fields (specifically EIBAID). It seems that the local EIB (which is what you would be modifying) can get overlaid by the system EIB in a few instances (like changing addressing modes with an intervening EXEC CICS LINK). I was told by IBM to not rely on any changes made to the local EIB. It is easy and it is tempting, but when it bites you it is tough problem to track down. Just my .02 worth.
Rusty
From: owner...@Lehigh.EDU [mailto:owner...@Lehigh.EDU] On Behalf Of indust...@winwholesale.com
Sent: Wednesday, August 18, 2010 1:08 PM
To: VSE Discussion List