No. Independent track group is a special case. Spin is synonymous with "start 
processing now" and does not imply that the space will be reclaimed before the 
entire job is processed.

If your DD has SPIN=CLOSE or you dynamically alloowcate with DALSPIN, then you 
get an independent track group whether or not you have FREE=CLOSE. If you 
dynamically unallocate the SYSOUT data set, then subsequent processing is the 
same as if you had specified FREE=CLOSE. The difference is just in programming 
convenience.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Charles Mills [[email protected]]
Sent: Sunday, May 17, 2020 4:08 PM
To: [email protected]
Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

So "spin" is more or less synonymous with "independent track group," at
least for spin on allocation (DD or SVC99) as opposed to after allocation
such as with SETPRT or on unallocation?

Or re-phrasing the question, if I allocate with SPIN=UNALLOC and FREE on
CLOSE, and do CLOSE the dataset, then I will not "consume" spool tracks
endlessly (assuming a writer picks up the dataset and processes it).

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Seymour J Metz
Sent: Sunday, May 17, 2020 12:34 PM
To: [email protected]
Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

> How does one "issue" SPIN=UNALLOC?

With a DD statement in the JCL. That's part of why I find the text
confusing.

> What is a "spin SYSOUT data set" other than one with the SPIN keyword or
text unit?

A spin dataset is a SYSOUT dataset that can be processed before the job
terminates. You can specify it in the JCL, in the dynamic allocation or in
the DYNAMIC unallocation. You can also spin an open SYSOUT dataset with
SETPRT.

> Documentation semantics aside

You can't get correct output if you set the semantics aside.

> How do I allocate an independent track group?

DALSPIN (X'8013')

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

Reply via email to