Work with Hardware Resources (WRKHDWRSC)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Hardware Resources (WRKHDWRSC) command allows the user to manage the hardware on the system. It allows the user to work with:
- Storage
- Processors
- Coupled adapter resource information
- Communications
- Cryptographics
- Local work stations
- Local area network (LAN) adapters
For storage, processors, communications, cryptographic and local work station you can review status and related configuration descriptions, determine which resources can be configured, and determine which devices have configuration descriptions already created.
For LAN network adapters (distributed data interface and token-ring) you can create a resource entry in the system or update the information. LAN adapter information consists of adapter name, adapter address, adapter description, and line type. If an adapter name is not specified when an adapter entry is created, the system assigns a name in the form Dnnnnnnnnn, where nnnnnnnnn is the last nine digits of the adapter address. The Work with LAN Adapters (WRKLANADPT) command allows you to update token ring adapter information for adapters reporting on a specified line.
Restrictions: The Work with LAN Adapters (WRKLANADPT) command must be run before you can run this command using TYPE(*LAN); otherwise there is no information to display.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | Type | *CMN, *CRP, *CSA, *LAN, *LWS, *PRC, *STG | Required, Positional 1 |
LINETYPE | Line type | *ALL, *DDI, *TRN | Optional |
Top |
Type (TYPE)
Specifies the type of hardware resource with which you want to work.
This is a required parameter.
The possible values are:
- *CMN
- The Work with Communication Resources display is shown.
- *CRP
- The Work with Cryptographic Resources display is shown.
- *CSA
- The Work with Coupled Adapter Resources display is shown.
- *LAN
- The Work with LAN Adapter Information display is shown.
- *LWS
- The Work with Local Work Station display is shown.
- *STG
- The Work with Storage Resources display is shown.
- *PRC
- The Work with Processor Resources display is shown.
Top |
Line type (LINETYPE)
Specifies the name of the local area network (LAN) to work with.
This parameter is required if TYPE(*LAN) was specified.
The possible values are:
- *ALL
- Both distributed data interface and token-ring network adapter resource information is displayed.
- *DDI
- All distributed data interface adapter resource information is displayed.
- *TRN
- All token-ring network adapter resource information is displayed.
Top |
Examples
WRKHDWRSC TYPE(*CMN)
This command adds, changes, copies, removes, or updates the configuration objects associated with communication hardware resources. The Work with Communication Resources display shows all communication input/output processors (IOPs), input/output adapters (IOAs), and ports installed on the system.
Top |
Top |