z/OS TSO/E User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DSORG, RECFM, LRECL, and BLKSIZE Operands

z/OS TSO/E User's Guide
SA32-0971-00

You can define the organization and record specification of the data set with specific operands as follows. When you omit these operands, the system uses default values.
  • DSORG (Data Set Organization) - specifies the organization of the data set, for example, physical sequential (PS) or partitioned (PO).
  • RECFM (Record Format) - specifies the characteristics of the records in the data set, for example, fixed-length (F), variable-length (V), and blocked (B).
  • LRECL (Record Length) - specifies the length in bytes of each record in the data set. If the records are variable-length, specify the maximum record length.
  • BLKSIZE (Block Size) - specifies how many bytes the system is going to read or write at a time. If the data set contains fixed block or variable block records, the block size must be a multiple of the record length. For example, if you have a fixed block record length of 80, the block size can be 3200 (40 x 80) or any other multiple of 80.
Example
ALLOCATE DATASET(new.data) NEW DIR(4) BLOCK(800) SPACE(20,10)
  DSORG(po) RECFM(f,b) LRECL(80) BLKSIZE(3200)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014