Show assignment of tape devices to storage locations
Component: | BS2000 OSD/BC |
Functional area: | Device management |
Domain: | DEVICE |
Privileges: | STD-PROCESSING |
Routing code: | E |
Function
The SHOW-DEVICE-DEPOT command provides information on the assignment of tape devices to volume storage locations.
The command supports structured output in S variables (see "Output in S variables").
Format
SHOW-DEVICE-DEPOT | ||||||||||||||||||||||||
|
Operands
UNIT =
Selection criterion for information output. Possible specifications: storage locations, routing codes of storage locations, device mnemonics.
UNIT = *SELECT(...)
Specification of a subset of the possible selection parameters that determine the scope of the output.
ROUTING-CODE = *ANY / <name 1..1>
Provides information about device sets to which storage locations with the specified routing code are assigned.
ROUTING-CODE = *ANY
Provides information about device sets, not depending on the routing codes of the assigned storage locations.
ROUTING-CODE = <name 1..1>
The storage locations with the specified routing code are selected.
UNIT = *LOCATION(...)
Specifies one or more depots whose assigned tape devices are to be output.
LOCATION = list-poss(10): <alphanum-name 1..8 with-wild(40)>
Depot names (1 - 8 characters long). A maximum of 10 depots can be specified.
UNIT = list-poss(26): <alphanum-name 2..2 with-wild(20)> / <alphanum-name 4..4 with-wild(20)>
Specification of tape devices whose storage location is to be output. Up to 26 devices can be specified.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
2 | 0 | NKD0005 | Warning: information incomplete |
1 | NKD0001 | Syntax error in the input, correction of the command parameters recovers the error | |
32 | CMD2009 | Error on output to S variable (e.g. subsystem not available) | |
64 | NKD0006 | Internal error during initialization of the command server | |
64 | NKD0002 | No information available | |
64 | NKD0006 | Software error in NKDDEVD procedure | |
64 | NKD0023 | No information available | |
64 | NKD0036 | No information available for LOCATION list | |
64 | NKD0037 | No information available for routing code | |
64 | OPS0002 | Interrupt (e.g. by K2 key) during S variable generation | |
130 | OPS0001 | SDF-P reporting space problems (possible response: FREE-VARIABLE and repeat command) |
Output format
All three command options have the following header line:
LOCATION RTC TAPE-MNEMONICS
Example
/show-dev-depot
% LOCATION RTC TAPE-MNEMONICS % ROBOTER1 T E0 ,E1 ,E2 ,E3 ,E4 ,E5 ,E6 ,E7 ,E8 % E9 ,EC ,ED ,EA ,EB ,EE ,EF % ROBOTER2 T EU ,EX ,ES ,ET ,EW ,EV ,EY ,EZ ,EK % EL ,EO ,EP ,EM ,EN ,EQ ,ER % D016ZE04 T TE ,TL ,MA ,MB ,MC ,ME ,MD ,MF ,MM % MN ,MO ,MP ,MQ ,MR
Output in S variables
Output information | Name of the S variable | T | Contents | Condition |
---|---|---|---|---|
Name of the depot | var(*LIST).LOCATION | S | '' | |
Routing code of the depot | var(*LIST).ROUT-CODE | S | '' | |
Tape device mnemonic | var(*LIST).UNIT(*LIST) | S | '' |