On Friday 15 May 2009 02:05, Frank Swarbrick wrote: > We are migrating from VSE to z/OS, and at the same time we are going > to convert most of our existing ESDS files to regular sequential files. > I see no reason to add "BLOCK CONTAINS 0" to all of our FD's if it has > no affect (our VSAM FD's do not (generally!) specify the BLOCK CONTAINS > clause, because it has no meaning to VSAM).
IIRC, BLOCK CONTAINS 0 is only needed for OUTPUT files in COBOL, but I think it's better to put it everywhere, so programmers later don't have to remember where it's needed. In 1991, I started to convert VSE applications to MVS/ESA and stopped to generate DCB attributes on DD statements, except for output files in IDCAMS REPRO and QUIKJOB programs, and a few others ones. A few years later, I started to convert IDCAMS REPRO to something else, for several advantages, among them not having to specify DCB info in the JCL. I'm convinced that coding DCB attributes on DD statements is something almost always useless and archaic. This is something all my customers agreed with, except an outsourcing company that absolutely had to have DCB information on all output DD statements, like this: DCB=(RECFM=xx,LRECL=yy,BLKSIZE=zzz). This was in 2007 ! In z/OS ! See examples here: http://gsf-soft.com/Prism-CS/Samples.shtml and you won't see many DD statements that contain DCB info. This is very similar to what I generated since 1991. As for the conversion of ESDS files to non-VSAM in COBOL programs, changing AS-filename to S-ddname is not always the only thing you need to do. Trust me ! -- Gilbert Saint-Flour GSF Software http://gsf-soft.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html