Example for OPTBLKSZ—standard form


This example shows you how to:

  • Specify block sizes for all data sets except certain system-level PDSs
  • Run in simulate mode for data sets in jobs with BLKEXEMPT in the third job account field


Command

Result

SMFUNC73 member

SET   NAME=OPTBLKSZ ACTIVE=YES
      MSG=I SMF=N
      FLST=7D RLST=7E
      DESC='ASSIGN OPTIMUM BLOCKSIZE'

The function is defined and activated. SMF records are not produced.

SMFLST7D member

SET   MODE=SIM
      INC JOBACCT3=BLKEXEMPT

The function runs in simulate mode for all data sets in jobs with BLKEXEMPT in the third job accounting field.

SET   MODE=ACT
      EXC HLQ=SYS* DSORG=PO RECFM=U
      INC DSN=/

The function runs in active mode for all selected resources. All data sets are selected, except system-level undefined partitioned data sets.

SMRLST7E member

SET   BLKSIZE=3861
      INC DSORG=PO LLQ=JCL/

Specify a small block size for JCL PDSs, which consist of many members with 50 records or fewer.

SET   BLKSIZE=23440
      INC MAXSIZE>50MB DEVTYPE=3380
      INC MAXSIZE>50MB DEVTYPE=3390

Specify half-track blocking for large data sets on all 3380 and 3390 devices.

SET   BLKSIZE=4629
      INC MAXSIZE>50MB DEVTYPE=DASD

For large data sets on all other devices, the block size is set for half- or third-track blocking.

SET   BLKSIZE=11476
      INC DEVTYPE=3380

For all other data sets on 3380 devices, the block size is set to quarter-track blocking.

SET   BLKSIZE=13682
      INC DEVTYPE=3390

For all other data sets on 3390 devices, the block size is set to quarter-track blocking.

SET   BLKSIZE=25600
      INC DEVTYPE=TAPE

The block size for tape data sets is set to 25KB.

SET   BLKSIZE=27999 FORCE=YES
      INC PROGRAM=PRO031/

For all programs that start with PRO031, the block size is set to 27999 and any program block size is overridden.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*