>Regarding IEFSSI REQUEST=QUERY,WORKAREA=WAREA;

Based solely on the question posed and the stated syntax, the answer is "it 
depends". You did not specify WORKASP (for which case the behavior depends on 
the subpool you choose). Therefore you get the documented default of subpool 0.

Just when storage allocated in subpool 0 is implicitly freed depends on how/if 
that subpool is shared with the creating task.

>My understanding that the work area will be freed automatically
>at either task (TCB) termination or job step termination.

The two "choices" shown are overlapping. "Job step termination" is a task 
termination (of the jobstep program task).

The storage will be freed, as with all task-related subpools, upon the 
termination of the task that owns that subpool that your task used for 
obtaining storage. That can be your task, or any ancestor task of your task up 
to the jobstep program task (depending on subpool sharing which can be 
specified on ATTACH(X). This is not unique to IEFSSI in any way.

>I don't think one has any control over where the storage gets allocated from
The (optional) WORKASP keyword provides such control.

Peter Relson
z/OS Core Technology Design


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

Reply via email to