You are looking for spanned records - ie RECFM=VBS. The COBOL manual has the necessary information. Also note the difference of using WRITE vs WRITE FROM. WRITE FROM is required for VBS because that is the only way you can build a bigger than blksize record.
Mike On 6/6/05, Andy Robertson <[EMAIL PROTECTED]> wrote: > I seem to remember a discussion here about a PTF, trick or Compiler option > that would allow the latest flavours of COBOL programs to tolerate short > Variable Length files. > > > I mean the case where the FILE SECTION is > > RECORD VARYING FROM nnn TO mmm > > And your JCL is > > //DDNAME DD LRECL=qqq,RECFM=VB, . . . > > > Now, it seems that qqq must equal mmm+4 or we get > > IGZ0201W A file attribute mismatch was detected. File DDNAME in program > xxxxxxx had a record length of mmm+4 and the file specified in the ASSIGN > clause had a record length of qqq. > > We would really like it to tolerate the case where qqq > mmm+4 > > > I am sure I remember a discussion of this here and I think I remember some > one suggesting a bypass, trick or fix, but numerous searchges have not > turned it up. > > Am I deraming, or can any one remember or give me some sort of hint??? > > TIA > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- Mike ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

