ST    R5,SAVER5
 GETMAIN EC,LV=(5),A=TABLADDR,SP=2

L     R5,SAVER5
FREEMAIN R,LV=(5),A=TABLADDR,SP=2

SAVER5   DC    F'0'

So I think I have the form right, its not complaining about the FREEMAIN
being invalid anymore, but its also not working as I would expect it.
Initially, it was complaining because I did not have a subpool specified,
and SP0 was being used, and my program can not free subpool 0 space.
Watching the job execute in the landmark activity monitor, the storage
being consumed is still from SP0 and the freemain is obviously not doing
what its suppose to.   I know I get to the statement, because if I screw up
the form, it complains when it is executed, but the storage in SP0 keeps
heading up.

So - any ideas why it isn't grabbing storage from SP2, and why the FREEMAIN
isn't working?  Mmmmm.....

On the flip side.   I was thinking there might be a way in the REXX script
that calls this thing in a loop to 'reset' itself each time - like its a
step end, but not really since I can't lose the other REXX variables I'm
using in there.

Thanks.

Jeffrey Deaver, Engineer
Systems Engineering
[email protected]
651-665-4231(v)
IS - "Creating competitive advantage with technology.  Providing service
that excels."
OSS - " Where Innovation Happens"

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to