Hey Jim:
Thanks for letting me know that my memory still works. I hadn't found
the mapping macro for the quickcell element yet and was going on
memories dating back to what I coded in 1973. Thank you very much for
the corroboration.
An old system programmer...
Mike
On 11/18/2014 10:17 PM, Jim Mulder wrote:
I am trying to shoot a bug. I *know* I have a design/logic error in that
I
am referencing a cell *after* returning it with CPOOL FREE. But I am
trying
to figure out if I have another error also. Does anyone know: does CPOOL
FREE use the first four or so bytes of a cell for its own purposes
following
FREE? In other words, does CPOOL FREE clobber the first few bytes of a
cell?
Maybe with a cell or related address?
CPOOL BUILD,PCELLCT=(R2),SCELLCT=(R4), +
CSIZE=(R3),SP=SP_ToUse,KEY=0, +
LOC=(31,31),CPID=AV_Cell_Recd, +
MF=(E,CPOOLMFL)
CPOOL FREE,CPID=AV_Cell_Recd,CELL=(R8),REGS=USE
The first 4 bytes of a freed cell contains the address of the
next cell on the available cell chain.
The next 12 bytes after that may also get modified by CPOOL FREE
if you are using the undocumented DIAGxx TRAP which
searches the available chain to see if the cell you are trying
to free is already freed.
Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN