DB2 Server for VSE & VM: Control Center Operations Guide for VM
|DB2 UDB's Web Control Center can be used to perform certain tasks
|against a DB2 Server for VSE & VM database. However, some of these
|tasks require processing that must be done locally. Control Center for
|VM provides stored procedures that are used to do this local
|processing. These stored procedures are invoked to process Web Control
|Center commands such as Reorganize Index and Rebind Package.
|Web Control Center stored procedures support requires version 7 or greater
|of DB2 UDB, DB2 for VM, and Control Center for VM.
|Perform the the process described in Installing DB2 Web Control Center Stored Procedures only if you are planning to use DB2 Web Control
|Center.
|Installing the Web Control Center stored procedures
|consists of three steps:
|
- |Defining the Web Control Center stored procedures (CREATE PROC) to the
|database (USER STEPS to Define (CREATE PROC) Stored Procedures)
- |LOADing the Web Control Center package into the database (USER STEPS to Load the Package)
- |Generating (GENMOD) the Web Control Center stored procedure MODULEs from
|TEXT files (USER STEPS to GENMOD the Stored Procedures)
|
|A stored procedure machine (PSERVER) must already be
|defined (CREATE PSERVER) to the database before executing the following
|steps:
|
- |Logon to the user ID with DB2 for VM Database Administration authority and
|Control Center for VM Database Administrator or greater authority.
- |LINK and ACCESS to Control Center code disk in READ mode (RR).
- |COPYFILE ARISVEF MACRO from Control Center code disk to ARISVEF DBSU
|A.
- |COPYFILE ARISCCF MACRO from Control Center code disk to ARISCCF DBSU
|A.
- |Modify ARISVEF DBSU as required (see file).
- |Modify ARISCCF DBSU as required (see file).
- |Execute: SQMSPGEN dbmach DEFINE ARISVEF A
- |Execute: SQMSPGEN dbmach DEFINE ARISCCF A
- |Verify that the stored procedure has been defined. From a user ID
|with Control Center for VM Database Administrator or greater authority,
|execute the following:
|EXECUTE: SQM dbmach SHOW PROC ARISVEF
|EXECUTE: SQM dbmach SHOW PROC ARISCCF
|
|
- |Logon to the user ID with DB2 for VM Database Administration authority and
|Control Center for VM Database Administrator or greater authority.
- |LINK and ACCESS to Control Center code disk in READ mode (RR).
- |Get the PASSWORD for user SQLDBA.
|
- |Execute DBINIT to database:
|DBINIT dbmach
- |Execute: isql
- |Execute: select * from system.sysuserauth where name =
|'sqldba'
- |Remember the password for SQLDBA.
- |Exit from isql.
|
- |At the CMS command prompt, execute: SQLSPGEN dbmach
|LOAD ARIS7VE fm sqldbapw, where dbmach is the database
|machine ID, fm is the file mode of the ARIS7VE PACKAGE on the Control
|Center code disk, and sqldbapw is the PASSWORD for user
|SQLDBA.
- |Verify that the ARIS7VE PKGLIST file and ARIS7VE PKGDBSU exist.
- |Erase the ARIS7VE PKGDBSU file; it contains the password for
|SQLDBA.
|
|
- |Log onto the PSERVER machine.
- |LINK and ACCESS to Control Center code disk in READ mode (RR).
- |LINK and ACCESS to your LE environment disk in READ mode (RR).
- |COPYFILE ARISVEF TEXT from Control Center code disk to ARISVEF TEXT
|A.
- |COPYFILE ARIS7VE TEXT from Control Center code disk to ARIS7VE TEXT
|A.
- |COPYFILE ARISCCF TEXT from Control Center code disk to ARISCCF TEXT
|A.
- |Execute: SQMSPGEN dbmach GENMOD ARISVEF A
- |Execute: SQMSPGEN dbmach GENMOD ARISCCF A
- |Verify that the ARISCCF MODULE and the ARISVEF MODULE have been
|created.
|
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]