On Thu, 19 Sep 2013 08:12:56 -0500, Paul Gilmartin <[email protected]> wrote:
>>Is the EOF written only if the data set is SMS-managed, or is this one >of those thingys that requires only that the SMS STC/ASID be active >at the time of creation? > >I say the EOF (had it been written) must be real, not pseudo, to >protect programs that carelessly read without checking DS1LSTAR. This is true. In SC26-7407-07 DFSMS Implementing System-Managed Storage it says "Ensured Data Integrity on New Allocations The system provides data integrity for newly allocated data sets that have not been written to. For these data sets, whether SMS managed or non-SMS managed, DFSMSdfp writes a physical end-of-file character at the beginning of the data set when space for the data set is initially allocated. This makes it unnecessary to OPEN data sets for the sole purpose of writing an EOF and to avoid reading old data if the data set is read immediately after being allocated. " Doug ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
