Syntax

The next diagram shows the TAPEMNT syntax.

Read syntax diagramSkip visual syntax diagramTAPEMNT VOL VolspecRMMvolspecSCR ScrspecRMMscrspec1DSN DsnspecRMMdsnspec2 RDEVraddrDEVPOOLdevpSCRPOOLscrp3VDEV181VDEVvaddrATTuseridOFFSETnEJECTTERSE
Volspec
Read syntax diagramSkip visual syntax diagram volid READWRITEWritespecLABEL-SLLABEL-NLLABEL-BLPLABEL-NEW4PRE5
Scrspec
Read syntax diagramSkip visual syntax diagram *     **powner*pnameWritespec
Dsnspec
Read syntax diagramSkip visual syntax diagram dsname 6SCRScrspec6VOLVolspecVOLNUMvnumLASTPREREQrseq
Writespec
Read syntax diagramSkip visual syntax diagramNODSE7DSE8EXPDATEyyyymmddEXPDAYSnnnnnTEXT<usertext>'usertext'
RMMvolspec (RMM catalog installations)
Read syntax diagramSkip visual syntax diagram volid READWRITERMMscrspec
RMMscrspec (RMM catalog installations)
Read syntax diagramSkip visual syntax diagramEXPDATEyyyymmdd9EXPDAYSnnnnn
RMMdsnspec (RMM catalog installations)
Read syntax diagramSkip visual syntax diagram dsname 10VOLRMMvolspec10SCRRMMscrspecNOCATLG11CATLG11RECATLGDISP OLD12DISP NEW12DISP MODPREREQrseq
Notes:
  • 1 For RMM catalogs, either RDEV, DEVPOOL, or SCRPOOL must be specified when the SCR form of the command is used, unless the site has defined a default scratch pool.
  • 2 The data set name is translated to uppercase.
  • 3 The SCRPOOL parameter is only valid with RMM catalogs.
  • 4 LABEL NEW requires the RDEV parameter for manual tape mounts.
  • 5 The PRE parameter is ignored unless RDEV is specified.
  • 6 When neither VOL nor SCR is specified, the default is for a volume-specific mount of the most recently written volume associated with the data set name.
  • 7 The Writespec data is not valid for tapes in the system pool, but those tapes can be mounted with the WRITE parameter by a system administrator.
  • 8 Site defaults will be used for the expiration date and DSE values if none are specified.
  • 9 Site default will be used for the expiration date if a value is not specified.
  • 10 When neither VOL nor SCR is specified, the default is for a volume-specific mount of the most recently written volume associated with the data set name.
  • 11 Valid only when DSN is specified.
  • 12 Valid only when DSN is specified. The default access is WRITE when DISP MOD or DISP NEW is specified.
Figure 1. Syntax diagram for TAPEMNT command