IBM Mainframe Discussion List <[email protected]> wrote on 11/21/2006 
10:27:17 PM:


> > > > Will CSV have problems when the module is explicitly DELETE'd, or
> > during
> > > > cleanup at step termination time?
> > >
> > > You must UNPROTECT before attempting to delete the module. Else 
you'll
> > get
> > > a FREEMAIN abend.
> >
> >   It is not necessary to UNPROTECT storage before freeing it.
> >
> > Jim Mulder   z/OS System Test   IBM Corp.  Poughkeepsie,  NY
> 
> When did that change? I distinctly remember FREEMAIN abends for
> read-only storage.

  I am not aware of any changes.  I would need to see a dump of the
alleged abend to determine what you are seeing.  The only time 
FREEMAIN stores into the storage being freed in when 
TRAPS NAME(IGVINITFREEMAIN)   is enabled, and even then it does not
store into whole pages which are being freed.  And it would be unwise
to PGSER PROTECT a partial page.  And if FREEMAIN does get a 0C4 abend 
due to IGVINITFREEMAIN storing into a protected partial page, it handles
that in its FRR as an anticipated condition, and does not dump or
record to logrec, so this is transparent to the issuer of FREEMAIN. 



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: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to