Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Media for OnDemand (WRKMEDRDAR) Command allows you to specify the media that is used by OnDemand. Media can be defined for tape and optical devices.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | Media type | *OPTVOL, *STGGRP, *TAPDEV, *TAPVOL | Required, Positional 1 |
OPTVOL | Optical volume | Character value, *ALL | Optional |
STGGRP | Storage group | Generic name, name, *ALL | Optional |
TAPDEV | Tape device | Generic name, name, *ALL | Optional |
TAPVOL | Tape volume | Character value, *ALL | Optional |
Top |
Specifies the type of media to work with.
This is a required parameter.
Top |
Specifies the identifier of an optical volume for which entries are shown on the Work with Optical Volumes display.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Specifies the name of the optical storage group for which entries are shown on the Work with OnDemand Storage Groups display.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Specifies the name of a tape device for which entries are shown on the Work with OnDemand Tape Devices display.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Specifies the identifier of a tape volume for which entries are shown on the Work with OnDemand Tape Volumes display.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Example 1: Simple Example
WRKMEDRDAR TYPE(*OPTVOL)
This command example initiates the OnDemand media functions for all optical volumes (*OPTVOL). Other media types that can be specified include storage groups (*STGGRP), tape devices (*TAPDEV), and tape volumes (*TAPVOL).
Example 2: More Complex Example
WRKMEDRDAR TYPE(*OPTVOL) OPTVOL(OND*)
This command is similar to Example 1 but provides a generic value for the optical volume name to subset the list of volume names with which to work. Each media type described in Example 1 allows the entry of a specific name, a generic name, or *ALL.
Top |
Top |