Mount

Home Up Search Credits Site Map Contact Info. Links Disclaimer Download

MOUNT Command

Use the MOUNT command to allow allocation of an I/O device to all job steps that require a particular volume without intervening demountings and remountings of the volume. Because the system must schedule MOUNT commands, there is a short delay between when you issue the command and when the volume is mounted.

In a JES3 complex, use the MOUNT command with great care. When a volume is to be mounted on a JES3-managed direct access device, you must enter a MOUNT command on each system in the complex that has access to the device. In addition, if you are requesting that a volume be mounted on a JES3-managed unit, you must also enter a JES3 mount command (*MODIFY,S,M=...). See OS/390 JES3

Commands.

Once the system has executed a MOUNT command, the specified device becomes reserved and remains mounted and reserved until an UNLOAD or VARY OFFLINE command is issued. A reserved direct access volume can be assigned the USE attribute of PUBLIC, PRIVATE, or STORAGE. A reserved tape volume can be assigned the USE attribute of PRIVATE or PUBLIC.

If you need to nullify a scheduled mount before the system executes the MOUNT command, use the CANCEL command.

Scope in a Sysplex

The MOUNT command has sysplex scope only when you issue the command against an automatically switchable tape device. See "Using Commands That Have Sysplex Scope" on page 1-10 for an explanation of sysplex scope.

Syntax

The complete syntax for the MOUNT command is:

 M {[/]devnum  },VOL=({NL},serial)[,USE={STORAGE}]
  {devicetype }      {SL}              {PUBLIC }
                     {AL}              {PRIVATE}

 

MOUNT or M

M {[/]devnum },VOL=({NL},serial)[,USE={STORAGE}]

{devicetype } {SL} {PUBLIC }

{AL} {PRIVATE}

Parameters

The parameters are:

[/]devnum

The device number for the input/output device to be mounted. A device number is 3 or 4 hexadecimal digits. A slash (/) must precede a 4-digit number and is optional before a 3-digit number.

devicetype

The type of device to be mounted. It can be any IBM-supplied name (for example, 3380).

VOL=(NL,serial)

The volume specified does not have a standard label. This parameter must not be used for direct access volumes. The serial number, up to six characters long, is used for allocation references.

4-300 OS/390 V2R10.0 MVS System Commands

Do not try to mount volumes with a label type of NL in a system-managed tape library; these volumes are not supported.

VOL=(SL,serial)

The volume specified has a standard label (SL). The serial number, up to six characters long, is used for label verification and allocation references. Tape label verification is not performed until the tape is opened.

VOL=(AL,serial)

The volume has an American National Standard label (AL). The serial number, up to six characters long, is used for label verification and allocation references. 

AL can be specified only if it was selected as an option at system installation.

Tape label verification is not performed until the tape is opened.

USE=STORAGE, PUBLIC, or PRIVATE

The USE attribute, defined by your installation procedures, to be assigned to the specified volume. Refer to OS/390 MVS Using the Subsystem Interface for more information on USE attributes.

The information on this site is the combined effort of a lot of people, please credit the authors if you use their information.
Please read the Disclaimer page for the restrictions, copyright, and other uses of the information contained on this site.
For problems or questions regarding this web contact Bob.
Last updated: August 27, 2001.