The maximum record-length for variable-length QSAM records is 32,760 bytes.
The current record-length of our file is OK for us, but in order to tackle some more info we have to expand this file which will have it's length beyond 32K (LRECL
> 32760).
Splitting the record is not good option for us as it will impact our existing system.
I'm not sure whether using SPANNED
records with VSAM here will solve this problem.
//DEFINE EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DEFINE CLUSTER (NAME(dsname.K1719) INDEXED VOLUMES(xxxxxx) -
TRACKS(1) KEYS(17 19) RECORDSIZE(40 110) SPANNED) -
DATA (NAME(dsname.K1719.DATA)) INDEX (NAME(dsname.K1719.INDEX))
/*
//
Will this will solve our problem?
If you use Unix System Services files, you are not subject to the 32K limitation on LRECL. There are downstream effects.
fopen()
and so forth to get around the 1M LRECL
limitation mentioned above, but then you are adding something a bit
foreign to an admittedly hypothetical COBOL application. C would
have no trouble with such files, I cannot speak to PL/I.setfacl
and other new concepts.