Thank you Tom.  This really reinforces what I had in mind.  I thought
that instead of going wild and doing a bunch of SRB code that I should
build the "foundation" first, meaning all the error recovery and so on.
It may not be as fun, but I think in the long run it will make things
easier.  Thanks for the RESMGR hint, too.  Now I see it in the doc
(hidden away).

Another thing I think I have to consider (the list is growing) is making
my main program wait for the SRB to finish.  I don't know if this has
anything to do with it, but the WTO's that came out were like this:

---->>>> Program Starting  
---->>>> Program Ending    
>->->->-> Beginning of SRB 
>->->->-> End of SRB       

That's a bit out of the order.  Could have had something to do with my
machine going into spin cycle.

I won't be such a pain on IBM-MAIN after tomorrow since my vacation is
over and real work will get into the way of my latest hobby. (-:

Lindy


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Harper
Sent: 24. elokuuta 2008 3:42
To: [email protected]
Subject: Re: Why don't I see my CSA storage in the dump?

Lindy,

What you really want to do is write an FRR routine for your SRB which
will do all of this for you by creating a system dump. Since CSA/ECSA
can be very large, create a list of storage addresses which include your
CSA/ECSA to be dumped.

Additionally, now that you have obtained CSA/ECSA, you need to learn to
be a responsible z/OS citizen and free your CSA/ECSA storage after your
program terminates, either normally or abnormally. Since you have
acquired a resource, you need to issue a RESMGR EOT and EOM routines to
clean up in all cases.

Tom

----------------------------------------------------------------------
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