You could write a little one-time-shot Assembler subroutine to handle this file and return the records to the calling COBOL program.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Frank Swarbrick Sent: Monday, August 29, 2011 12:05 PM To: IBM-MAIN@bama.ua.edu Subject: Cobol and large QSAM record length Even using Spanned (record format is S) or Undefined (record format is U) Cobol (Enterprise COBOL 4.2) appears to not allow a record length more than 32K: 32 IGYGR1224-E The maximum calculated record size of file "WIRE-DOCUMENT-FILE" was greater than the maximum allowable size 32767. 32767 was assumed. Is this a COBOL limitation or a QSAM limitation? Is VSAM my best (only?) alternative? Thanks, 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 ---------------------------------------------------------------------- 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