Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with ASP Jobs (WRKASPJOB) command allows you to work with a list of jobs that are using an auxiliary storage pool (ASP).
You can use this command to perform the following tasks:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
ASPDEV | ASP device | Name, *ALLAVL | Optional, Positional 1 |
Top |
Specify the name of the auxiliary storage pool (ASP) device whose jobs are to be displayed. When working with an entire ASP group, the ASP device specified should be that of the primary. Specifying the name of a secondary will only provide the detail vary status when the secondary is being varied to join an already online ASP group.
Top |
Example 1: Work with Jobs Using any Available ASP
WRKASPJOB ASPDEV(*ALLAVL)
This command shows every available ASP device and the jobs that are using it.
Example 2: Work with Jobs Using a Specific ASP
WRKASPJOB ASPDEV(WAREHOUSE)
This command shows the jobs that are using an ASP device named WAREHOUSE.
Top |
*ESCAPE Messages
Top |