Which task owns the storage?

On Mon, 8 Oct 2012 15:38:37 +0200 Mil Hashoul <[email protected]> wrote:

:>I did use this. i have three programs, main called SCAN -> CONV ->
:>Interpreter
:>SCAN attachX the CONV with NSHSP 237 and 236 and CONV call with BALR the
:>Interpreter, still I have the dynamical allocation that the INTERPRETER do
:>still obtained without free.
:>
:>
:>On Mon, Oct 8, 2012 at 2:24 PM, McKown, John
:><[email protected]>wrote:
:>
:>> I don't know how you are invoking the interpreter, but if you do it using
:>> an ATTACH[X] facility, then all you need to do is not share sub pools 236 &
:>> 237 (which normally are not shared anyway). Then all the storage that the
:>> subtask obtains will automatically be freed when it terminates. This is
:>> rather simple to do, but just in case, I would do something like:
:>>
:>>
:>>   XC  ECB,ECB
:>>   ATTACH EP=...,PARAM=(...),VL=1,
:>>          ECB=ECB
:>>   ST   1,TCB
:>>   WAIT ECB=ECB
:>>   DETACH TCB
:>>
:>> HTH.
:>>
:>> --
:>> John McKown
:>> Systems Engineer IV
:>> IT
:>>
:>> Administrative Services Group
:>>
:>> HealthMarkets(r)
:>>
:>> 9151 Boulevard 26 * N. Richland Hills * TX 76010
:>> (817) 255-3225 phone *
:>> [email protected] * www.HealthMarkets.com
:>>
:>> Confidentiality Notice: This e-mail message may contain confidential or
:>> proprietary information. If you are not the intended recipient, please
:>> contact the sender by reply e-mail and destroy all copies of the original
:>> message. HealthMarkets(r) is the brand name for products underwritten and
:>> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
:>> Life Insurance Company(r), Mid-West National Life Insurance Company of
:>> TennesseeSM and The MEGA Life and Health Insurance Company.SM
:>>
:>>
:>> > -----Original Message-----
:>> > From: IBM Mainframe Discussion List [mailto:[email protected]]
:>> > On Behalf Of Mil Hashoul
:>> > Sent: Monday, October 08, 2012 4:05 AM
:>> > To: [email protected]
:>> > Subject: free subpool 236 or 237 of JES
:>> >
:>> > Hi,
:>> > How could I free the subpool 236 or 237?
:>> > I work under batch and I am calling the converter and the interpreter
:>> > of
:>> > JES, while the batch job is 237 subpool, i work with the converter and
:>> > the
:>> > interpreter with subpool 236, when i finish working with the
:>> > interpreter, I
:>> > found that lot of the storage of 237 is still hanged on, and it is only
:>> > released after the main job batch ended, for my case it is not good
:>> > since,
:>> > i call the interpreter hundred of times at each job.
:>> > Any help how could I release that storage?
:>> > Regards
:>> > Milad Hashoul
:>> >
:>> > --
:>> > "Look in My Eyes you will C the Devil Playin with My Soul"
:>> > It depends who leads!!
:>> >
:>> > ----------------------------------------------------------------------
:>> > 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
:>>

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to