Image description: DD statement parameters for retrieving QSAM files

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

The following parameters are shown:

  • DSNAME= and DSN=
  • UNIT=
  • VOLUME= and VOL=
  • 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 accurate syntax of parameters and subparameters that are used to create QSAM files.

Ensure that your screen reader's punctuation option is set on for reading this table.

Parameter Subparameters
DSNAME= and DSN= Can be one of the following:
  • dataset-name
  • dataset-name(member-name)
  • *.ddname
  • *.stepname.ddname
  • &&name
  • &&name(member-name)
UNIT= ( name[,unitcount] )
VOLUME= and VOL= ( subparameter-list )
LABEL= ( subparameter-list )
DISP= ( [sub1] [,sub2] [,sub3] )
  • sub1 can be one of the following:
    • OLD
    • SHR
    • MOD
  • sub2 can be one of the following:
    • DELETE
    • KEEP
    • PASS
    • CATLG
    • UNCATLG
  • sub3 can be one of the following:
    • DELETE
    • KEEP
    • CATLG
    • UNCATLG
DCB= (subparameter-list)

The image does not show the details of subparameter-list for the VOLUME=, VOL=, LABEL=, and DCB= parameters.

End of image description.