Example 1

Operation: Create a list of attributes to be assigned to a data set when the data set is allocated.

Known:

The following attributes correspond to the DCB operands that you want assigned to a data set.
  • Optional services: Chained-scheduling, user totaling
  • Expiration date: Dec. 31, 1985
  • Record format: Variable-length spanned records
  • Error option: Abend when READ or WRITE error occurs
  • Buffering: Simple buffering
  • Boundary alignment: Doubleword boundary
  • Logical record length: Records may be larger than 32756 bytes
  • Name of the attribute list: DCBPARMS
attr dcbparms optcd(c t) expdt(85365) recfm(v s) -
eropt(abe)  bftek(s)  bfaln(d) lrecl(x)