QSAM interface

Offset Bytes in Length Field Name Description
61(3D) 1 DCBCIND2 Condition indicators.
    .... .1.. DCBCNCHS. Chain scheduling being supported. Set in OPEN. Zero for DASD. May differ from OPTCD=C bit(DCBOPTC).
68(44) 4 DCBIOBA Address of area to determine length of undefined-length record after a GET macro with LBI.
80(50) 1 DCBUSASI/ DCBQSWS ASCII tape.
    .1.. .... Block prefix is a 4-byte field containing the block length. (BUFOFF=L was specified).
    .... .1.. DCBOPEN. QSAM parallel input processing.
81(51) 1 DCBBUFOF Block prefix length.
82(52) 2 DCBLRECL Format-F records: Record length. Format-U records: Block size. Format-V records:
  • Unspanned record format:
    • GET: PUTX; record length.
    • PUT: Actual or maximum record length.
  • Spanned record format:
    • Locate mode:
    • –GET: Segment length.
    • –PUT: Actual or minimum segment length.
    • Logical record interface:
    • – Before OPEN: Maximum logical record length.
    • – After GET: Record length.
    • – Before PUT: Actual or maximum record length.
    • – ISO/ANSI spanned record format with XLRI; length of the record area in 'K' units (1024).
    • Move mode:
    • – GET: Record length.
    • – PUT: Actual or maximum record length.
  • Data mode, GET:
    • Data records up to 32752 bytes: Data length.
    • Data records exceeding 32752 bytes:
    • – Before OPEN: X'8000'
    • – After OPEN: Data length.
  • Output mode, PUTX (output data set):
    • Segment length.
84(54) 1 DCBEROPT Error option. Disposition of permanent errors if the user returns from a synchronous error exit (DCBSYNAD), or if the user has no synchronous error exit.
    100. .... ACC: Accept.
    010. .... SKP: Skip.
    001. .... ABE: Abnormal end of task.
    ...x xxxx Reserved bits.
90(5A) 2 DCBPRECL Block length, maximum block length, or data length. Not part of LBI.