On Mon, 18 May 2009 16:07:12 -0500, Paul Gilmartin <paulgboul...@aim.com> wrote:
>Is default unblocked an ANSI Standard requirement? (Of course >this doesn't preclude an extension implemented via compiler >option.) >From the 2002 standard (I don't have the 1985 standard): --------------------------------------------- 13.16.10 BLOCK CONTAINS clause The BLOCK CONTAINS clause specifies the size of a physical record. 13.16.10.1 General format 13.16.10.2 Syntax rules 1) If integer-1 is specified, integer-2 shall be greater than integer-1. 13.16.10.3 General rules 1) This clause is required except when one or more of the following conditions exist: a) A physical record contains one and only one complete logical record. b) The hardware device assigned to the file has one and only one physical record size. c) The number of records or characters contained in a block is specified in the operating environment. 2) The size of a physical record may be stated in terms of records unless one or more of the following situations exists, in which case the RECORDS phrase shall not be used: a) In mass storage files, logical records may extend across physical records. b) The physical record contains padding (area not contained in a logical record). c) Logical records are grouped in such a manner that an inaccurate physical record size would be implied. 3) If the CHARACTERS phrase is specified, the physical record size is specified in terms of the number of bytes required to store the physical record, regardless of the types of characters used to represent the items within the physical record. 4) If integer-1 is not specified, integer-2 represents the exact size of the physical record. If integer-1 and integer-2 are both specified, they refer to the minimum and maximum size of the physical record, respectively. --------------------------------------------- I would say that 3c indicates that the clause can be omitted and still not default to unblocked. But perhaps that's just my wishful interpretation. Frank ---------------------------------------------------------------------- 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