CL Command Reference - CRTDEVASP

CL Command List > CRTDEVASP Reference

Description:

The Create Device Description (ASP) (CRTDEVASP) command creates a device description for an auxiliary storage pool (ASP) device.


Examples:

Example 1: Create an Independent ASP Device

CRTDEVASP DEVD(COMPANY1) RSRCNAME(COMPANY1)

This command creates a device description for an independent ASP named COMPANY1. The resource name for the device description is also named COMPANY1. Operational messages messages for independent ASP COMPANY1 will be sent to message queue QSYSOPR in library QSYS.



Example 2: Create a Primary ASP Device

CRTDEVASP DEVD(WAREHOUSE2) RSRCNAME(WAREHOUSE2)
RDB(WAREHOUSE_NUMBER_2) MSGQ(INVENTORY/WH2)

This command creates a device description for a primary ASP named WAREHOUSE2. The resource name for the device description is also named WAREHOUSE2. The relational database (RDB) name that will be associated with the ASP group when this primary ASP device is varied on is WAREHOUSE_NUMBER_2. Operational messages for independent ASP WAREHOUSE2 will be sent to message queue WH2 in library INVENTORY.