Image description: DD statement parameters for creating QSAM files

This image shows DD statement parameters and subparameters that are frequently used to create QSAM files.

The following parameters are shown:

  • DSNAME= and DSN=
  • UNIT=
  • VOLUME= and VOL=
  • SPACE=
  • LABEL=
  • DISP=
  • DCB=

The following table lists the subparameters that are shown for each parameter. The subparameters are presented in a style that is similar to JCL syntax notation. Consult the documentation for your system for the syntax of parameters and subparameters that are used to create QSAM files.

Ensure that your screen reader is set to speak all punctuation for reading this table.

Parameter Subparameters
DSNAME= and DSN= Can be one of the following items:
  • dataset-name
  • dataset-name(member-name)
  • &&name
  • &&name(member-name)
UNIT= ( name[,unitcount] )
VOLUME= and VOL= ( [PRIVATE] [,RETAIN] [,vol-sequence-num] [,volume-count] ... [vol-info] )

vol-info can be one of the following items:

  • [,SER=(volume-serial [,volume-serial] ... )
  • [,REF=dsn]

    dsn can be one of the following items:

    • dsname
    • *.ddname
    • *.stepname.ddname
    • *.stepname.procstep.ddname
SPACE= ( allocation-type,(primary-quantity [,secondary-quantity] [,directory-quantity] ) )

allocation-type can be one of the following items:

  • TRK
  • CYL
  • average-record-length
LABEL= ( [data-set-sequence-number,] [label] [,retention] )
  • label can be one of the following items:
    • NL
    • SL
    • SUL
  • retention can be one of the following items:
    • EXPDT= yyddd
    • EXPDT=yyyy/ddd
    • RETPD=xxxx
DISP= ( [disp1] [,disp2] [,disp3] )
  • disp1 can be NEW or MOD
  • disp2 can be one of the following items:
    • DELETE
    • KEEP
    • PASS
    • CATLG
  • disp3 can be one of the following items:
    • DELETE
    • KEEP
    • CATLG
DCB= (subparameter-list)

The image does not show details of subparameter-list for the DCB= parameter.

End of image description.