Show default values for DISK parameters
| Component: | BS2000 | 
| Functional area: | Device management | 
| Domain: | DEVICE | 
| Privileges: | STD-PROCESSING | 
| Routing code: | E | 
Function
With the SHOW-DISK-DEFAULTS command, users can obtain information on the default values for the assignment of private disks. These values do not apply to private disks requested with USE=SPECIAL.
The following presettings are possible:
- Time of device assignment or release (ASSIGN-TIME) 
 The following values can be set for ASSIGN-TIME:- USER: - Default value; the time of assignment or release of the device corresponds to the time the user assigns or releases the private disk. - OPERATOR: - If the private disk is mounted (online), the assignment is executed immediately. Otherwise, the assignment cannot be made until the disk is placed online. 
- Permissible initial job allocation types SHARED or EXCLUSIVE (USER-ALLOCATION)The following values can be set for USER-ALLOCATION: - NO: - permits no initial allocations. - ALL: - permits SHARED and EXCLUSIVE initial allocations. - EXCL(usive): - permits only EXCLUSIVE initial allocations. - SHARE: - permits only SHARED initial allocations. 
- Monitor of initial job allocations SHARED or EXCLUSIVE 
 The following values can be set for OPERATOR-CONTROL:- NO: - monitors no initial allocations. - ALL: - SHARED and EXCLUSIVE initial allocations must be confirmed by the operator. - EXCL(usive): - EXCLUSIVE initial allocations must be confirmed by the operator. - SHARE: - SHARED initial allocations must be confirmed by the operator. - The command supports structured output in S variables (see "Output in S variables"). 
Format
| SHOW-DISK-DEFAULTS | 
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 | |
| 4 | 1 | NKD0001 | Syntax error in subprocedure | 
| 32 | CMD2009 | Error on output to S variable (e.g. subsystem not available) | |
| 64 | NKD0002 | No information available | |
| 64 | NKD0006 | Internal error during initialization of the command server | |
| 130 | OPS0001 | SDF-P reporting space problems (possible response: FREE-VARIABLE and repeat command) | 
Output format
A header line and a values line are displayed.
Header line: ASSIGN-TIME USER-ALLOCATION OPERATOR-CONTROL Values line: <assign-time> <user-allocation> <operator-control>
The output fields and their meanings are described in section "Information services of device management: Meanings of the output values of SHOW commands".
Example
Example of information displayed
/show-disk-def
% ASSIGN-TIME USER-ALLOCATION OPERATOR-CONTROL % USER ALL NO
Output in S variables
| Output information | Name of the S variable | T | Contents | Condition | 
|---|---|---|---|---|
| Time of device assignment/release | var(*LIST).ASS-TIME | S | '' | |
| Amount of information for the operator about new disk allocations for tasks | var(*LIST).OPER-CONTR | S | '' | |
| Type of disk allocation request the user is allowed to make | var(*LIST).USER-ALLOC | S | '' |