If you do a dynamic free of a file, or code FREE=CLOSE, the TIOT is marked freed. I have never done the experiment to see if an entry will be reused. I think I discovered that when checking a TIOT entry for concatenation and was only checking the first byte of the DDN for a blank. It was a while ago and considering I can't remember what I had for breakfast yesterday, that reason could be all wrong. Anyway, the bit is set if a data set is deallocated.
Chris Blaicher Principal Software Engineer, Software Development Syncsort Incorporated 50 Tice Boulevard, Woodcliff Lake, NJ 07677 P: 201-930-8260 | M: 512-627-3803 E: [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Wednesday, February 05, 2014 12:39 PM To: [email protected] Subject: Re: Number of entries in the TIOT On Wed, 5 Feb 2014 16:39:14 +0000, Blaicher, Christopher Y. wrote: >The end of the list is shown by having a TIOELNGH of zero. Also, TIOSLTYP bit >will be on if the entry has been freed. You can skip the entry if this is on. > You only have to worry about that bit if you do dynamic allocation and free >data sets as your program runs. > Are TIOT entries ever freed? Is there a hazard of rotted links? Are they reused (difficult if the length is variable)? Are they in private storage, so freed when the job step ends? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ________________________________ ATTENTION: ----- The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
