SDB specifies whether system-determined blocksize should be used to select an optimal blocksize for output data sets when none is provided. This parameter will automatically provide a blocksize that will most efficiently utilize the space on the output device.
SDB=ON or YES enables the use of system-determined blocksize for both tape and new or previously allocated but unopened DASD output data sets except in the following conditions:
-
A blocksize is found in the JCL DCB BLKSIZE specification or, in the case of a DISP=MOD tape data set, it is derived from an available tape label.
-
The output file is a VSAM data set.
If the output data set is on DASD, the blocksize selected will be based upon the RECFM and LRECL, either specifically provided or determined from the usual analysis of SORTIN or RECORD statement attributes. For example, the blocksize selected for a blocked output data set assigned to a 3380 or 3390 DASD device will represent a size as close to half-track blocking as possible.
If the output file is a tape data set, the blocksize will be determined from the RECFM and LRECL in conjunction with the following rules:
-
RECFM of F or FS: BLKSIZE=LRECL
-
RECFM of FB or FBS and LABEL type is not AL: BLKSIZE=highest multiple of LRECL that is less than or equal to 32760.
-
RECFM of FB and LABEL type is AL: BLKSIZE=highest multiple of LRECL that is less than or equal to 2048.
-
RECFM of V, VS, D: BLKSIZE=LRECL +4
-
RECFM of VB, VBS: BLKSIZE=32760
-
RECFM of DB: BLKSIZE=2048
If SDB=OFF or NO is specified, MFX will not use system-determined blocksize. The blocksize, if unavailable, will be determined from SORTIN if the SORTIN and output data set LRECLs are the same, otherwise MFX will select an appropriate blocksize.
If SDB=DISKONLY is specified, MFX will use system-determined blocksize only for disk output data sets.
If SDB=TAPEONLY is specified, MFX will use system-determined blocksize only for tape output data sets.
SDB=LARGE enables the use of system-determined blocksize for both tape and DASD output data sets, as with SDB=ON. Additionally, SDB=LARGE enables selection of a system-determined blocksize greater than 32760 for eligible tape output data sets if not restricted by the system BLKSZLIM value.
SDB=SMALL has the same meaning as SDB=ON.
SDB=INPUT enables the use of system-determined blocksize for both tape and DASD output data sets, as with SDB=ON. Additionally, if an input tape data set has a blocksize greater than 32760, SDB=INPUT enables selection of a system-determined blocksize greater than 32760 for eligible tape output data sets if not restricted by the system BLKSZLIM value. SDB=INPUT is the default.
SDB=LARGEONLY enables the use of system-determined blocksize for tape output data sets only, as with SDB=TAPEONLY. Additionally, SDB=LARGEONLY enables selection of a system-determined blocksize greater than 32760 for eligible tape output data sets if not restricted by the system BLKSZLIM value.
SDB=INPUTONLY enables the use of system-determined blocksize for tape output data sets only, as with SDB=TAPEONLY. Additionally, if an input tape data set has a blocksize greater than 32760, SDB=INPUTONLY enables selection of a system-determined blocksize greater than 32760 for eligible tape output data sets if not restricted by the system BLKSZLIM value.