DB2 REXX SQL for VM/ESA(R): Installation and Reference


Chapter 4. Installing Preventive and Corrective Service

This chapter provides instructions for installing preventive service and corrective service for DB2 RXSQL. It also contains instructions for reloading packages and HELP text.

Preventive service, the most common form of service, is shipped on a VM-PUT tape. If you receive a VM-PUT tape that contains DB2 RXSQL preventive service, "Installing Preventive Service".

Corrective service is provided only in special situations. If you receive an DB2 RXSQL corrective service tape, instructions for its use are available from your IBM Support Center. Refer to "Installing Corrective Service" for specific instructions.

If DB2 RXSQL requires service, the MAINT machine, or its equivalent, must have read/write access to a minidisk with free space equivalent to at least 5 cylinders of an IBM 3380 storage device. Figure 18 shows the minimum free space required for the work minidisk when the block size is 4096 bytes.

Figure 18. Database Tables Used for DB2 RXSQL HELP Text





  Minidisk
Virtual Address
Access Mode
3350 Cylinders
3375 Cylinders
3380 Cylinders
3390 Cylinders
9345 Cylinders
FB-512 Blocks
MAINT machine: Work minidisk for service
194 or 191
A or C
7
8
5
4
5
6000


Installing Preventive Service

To apply DB2 RXSQL preventive service from a VM-PUT tape, use the VM VMSERV EXEC

and the DB2 RXSQL preventive service EXEC. The name of the preventive service EXEC is listed in the Program Service section of the Program Directory. The DB2 RXSQL files on a VM-PUT tape are described in the VM-PUT document that comes with the tape.

To install preventive service, you must do the following:

  1. Review the DB2 RXSQL service Memo to Users carefully before using the VMSERV EXEC and the DB2 RXSQL preventive service EXEC to apply service.

  2. Load service for DB2 RXSQL from the VM-PUT tape. The service is loaded to the DB2 RXSQL service disk, and the DB2 RXSQL production disk.

    If you installed DB2 RXSQL on DB2 Server for VM disks, the defaults are:

    Production minidisk = SQLMACH 195
    Service minidisk = SQLMACH 193
    Production SFS directory = VMSYS:SQLMACH.SQL.PRODUCTION
    Service SFS directory = VMSYS:SQLMACH.SQL.SERVICE.

    If you installed DB2 RXSQL on separate disks, the defaults are:

    Production minidisk = SQLMACH 198
    Service minidisk = SQLMACH 199
    Production SFS directory = VMSYS:SQLMACH.RXSQL.PRODUCTION
    Service SFS directory = VMSYS:SQLMACH.RXSQL.SERVICE.
  3. If instructed by the preventive service EXEC, reload the DB2 RXSQL package into each application server in which DB2 RXSQL was installed. For information on reloading the DB2 RXSQL package, refer to "The ELOAMOD EXEC".
  4. If instructed by the preventive service EXEC, reinstall the HELP text in each application server in which DB2 RXSQL was installed. Follow the instructions in "Reloading HELP Text".

The DB2 RXSQL preventive service EXEC performs the following functions:

After installing preventive service, you should verify that DB2 RXSQL is correctly installed by following the procedure outlined in "Installation Verification".


Installing Corrective Service

If you receive a corrective service tape, you also receive instructions for its use from your IBM Support Center. You must follow these instructions to copy the contents of the tape to the MAINT machine's A-disk, and then use the ELOSCOR EXEC to install the corrective service.

Step 1 Load the Service Files to the MAINT Work Minidisk

You will be using the MAINT machine to apply corrective service. Access the MAINT work minidisk as file mode A. Type the following statements to load the service files supplied by IBM to this minidisk:

Step 2 Rename the Corrective Service Files

Before proceeding and as instructed by your IBM Support Center, you must rename the file types of the corrective service files that you just loaded from the tape.

Step 3 Apply Corrective Service to DB2 RXSQL Using the ELOSCOR EXEC

You are now ready to use the ELOSCOR EXEC to install corrective service.

This EXEC is supplied with DB2 RXSQL and resides on the service disk. It applies the service based on the contents of the corrective service tape. It does not use service files for other IBM products. These extra files remain on the MAINT work minidisk.

The ELOSCOR EXEC also determines whether or not a link-edit is necessary. If it is, the ELOSCOR EXEC calls the ELOLKED EXEC. For information on the prerequisites for running the ELOLKED EXEC, refer to "The ELOLKED EXEC".

If the package has been serviced, the ELOSCOR EXEC issues a message indicating that the DB2 RXSQL package must be reloaded. You must reload this package into each application server on which DB2 RXSQL was installed. Follow the instructions in "Reloading the DB2 RXSQL Package".

If the HELP text has been serviced, the ELOSCOR EXEC issues a message indicating that the HELP text must be reinstalled. You must reinstall this HELP text in each application server in which DB2 RXSQL was installed. Follow the instructions in "Reloading HELP Text".

Step 3.1 Access the Appropriate Disks

To apply service to DB2 RXSQL, you must have write access to the DB2 RXSQL production and service disks and read access to the DB2 production and service disks. The procedure you must follow to access the appropriate disks depends on whether DB2 RXSQL is installed on minidisks or in SFS directories. The procedure to follow in each case is described in the following sections.

Accessing DB2 RXSQL and DB2 Disks When DB2 RXSQL Installed on Minidisks

If DB2 RXSQL is installed on minidisks, the disks that you must access before applying corrective service depends on whether or not DB2 RXSQL was installed on the same disks as DB2, as shown in Figure 19.

Figure 19. Accessing DB2 RXSQL and DB2 Disks To Apply Corrective Service










Disks to Access
DB2 RXSQL Installed on DB2 Minidisks
DB2 RXSQL Installed on Separate Minidisks
DB2 Product is on Minidisk
DB2 Product is in SFS Directories
DB2 production minidisk
X
X
 
DB2 service minidisk
X
X
 
DB2 RXSQL production minidisk
 
X
X
DB2 RXSQL service minidisk
 
X
X
DB2 production SFS directory
 
 
X
DB2 service SFS directory
 
 
X

DB2 RXSQL Was Installed on DB2 Minidisks

If DB2 RXSQL was installed on DB2 minidisks, specify the following commands to link and access the DB2 production and service minidisks:

DB2 RXSQL Was Installed on Separate Minidisks

If DB2 RXSQL was not installed on DB2 minidisks, specify the following commands to link and access the DB2 RXSQL production and service minidisks and the DB2 production and service disks:

Accessing DB2 RXSQL and DB2 Disks When DB2 RXSQL Installed in SFS Directories

If DB2 RXSQL is installed in SFS directories, the disks that you must access before applying corrective service depends on whether or not DB2 RXSQL and the DB2 product are installed on the same disks, as shown in Figure 20:

Figure 20. Accessing DB2 RXSQL and DB2 Disks To Apply Corrective Service










Disks to Access
DB2 RXSQL Installed in DB2 SFS Directories
DB2 RXSQL Installed in Separate SFS Directories
DB2 Product is on Minidisk
DB2 Product is in SFS Directories
DB2 production SFS directory
X
 
X
DB2 service SFS directory
X
 
X
DB2 RXSQL production SFS directory
 
X
X
DB2 RXSQL service SFS directory
 
X
X
DB2 production minidisk
 
X
 
DB2 service minidisk
 
X
 

DB2 RXSQL Was Installed in DB2 SFS Directories

If DB2 RXSQL was installed on DB2 SFS directories, specify the following commands to access the DB2 production and service SFS directories:

DB2 RXSQL Was Installed in Separate SFS Directories

If DB2 RXSQL was installed on separate SFS directories, specify the following commands to access the DB2 RXSQL production and service SFS directories and the DB2 production and service disks:

Step 3.2 Call the ELOSCOR EXEC

To call the ELOSCOR EXEC to apply the DB2 RXSQL corrective service, type:

   ELOSCOR

For information on running the ELOSCOR EXEC, refer to "The ELOSCOR EXEC".

Step 3.3 Release Disks

Release any SFS directories to which you are linked and release and detach any minidisks to which you are linked.

For a description of the CP commands described in this section, refer to the VM/ESA: CP Command and Utility Reference manual for your VM operating system. For a description of the CMS commands described in this section, refer to the VM/ESA: CMS Command Reference manual for your VM operating system.


Reloading HELP Text

When you are installing preventive service or corrective service, the preventive service EXEC or the ELOSCOR EXEC may issue a request to reinstall the HELP text in each DB2 application server in which DB2 RXSQL was installed. As instructed, invoke the ELOSHLP EXEC for each DB2 application server into which DB2 RXSQL was installed. Refer to "The ELOSHLP EXEC" for instructions on running this EXEC before using it.

The ELOSHLP EXEC is supplied with DB2 RXSQL and resides on the DB2 RXSQL service disk. The ELOSHLP EXEC services the DB2 RXSQL secondary-level HELP tables. It will service the AMENG HELP text as well as any national language support language that has been installed.


Reloading the DB2 RXSQL Package

When you are installing preventive service or corrective service, the preventive service EXEC or the ELOSCOR EXEC may issue a request to reload the DB2 RXSQL package into each application server in which DB2 RXSQL was installed.

Use the ELOAMOD EXEC supplied with DB2 RXSQL to load DB2 RXSQL packages into an DB2 application server. For more information about the use of the ELOAMOD EXEC, refer to "The ELOAMOD EXEC".


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]