Step 2--Creating DB2 for VM DBSPACEs: DSQ2DBSC

Note
Skip this step if one or more of the following are true:

To create the DBSPACEs required by QMF, do the following:

  1. Access the QMF distribution and production disks.
  2. Ensure that the QMF installation control file QMFV720E INSTALL exists on the distribution disk.
  3. Ensure that you have an A-disk to generate a temporary file.
  4. Run the exec: DSQ2DBSC.

    This exec will:

  5. Send the 'dbname SQLADBSP ' file (or 'resid SQLADBSP') file to the database virtual machine.
  6. Log onto the database virtual machine and stop the database. (Typically with the SQLEND command.)
  7. Receive the 'dbname SQLADBSP' (or 'resid SQLADBSP') file to the A-disk.
  8. Access the DB2 for VM service disk (DASD 193) as the V-disk.
  9. Run the SQLADBSP exec, by entering:
    SQLADBSP DB(dbname)
    where dbname is the name of the DB2 for VM database. DBSPACE(s) is added based on the information in the dbname SQLADBSP file.

    You receive the following message:

     dbname SQLADBSP WAS FOUND.
     SHOULD THIS FILE BE USED FOR ADD DBSPACE?

    Answer YES.

    You receive a message inquiring whether or not you want to modify the dbname SQLADBSP file.

  10. Release the DB2 for VM service disk (DASD 193).
  11. Restart the database and continue with the installation, by entering:
    SQLSTART DB(dbname)
    where dbname is the name of the DB2 for VM database.
  12. Run the following query using ISQL to verify that the new DBSPACEs are available for QMF:
    SELECT * FROM SYSTEM.SYSDBSPACES
      WHERE  DBSPACETYPE=1 AND OWNER=''
     

    To run this query, as a minimum you need to have SELECT authority on table SYSTEM.SYSDBSPACES, or have DB2 DBA authority, which implies the SELECT privilege.

[ Previous Page | Next Page | Contents | Index ]