×

Method of dynamically adding and removing DB2 active logs

  • US 5,430,871 A
  • Filed: 10/27/1992
  • Issued: 07/04/1995
  • Est. Priority Date: 10/27/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of dynamically adding a new active log to a DATABASE 2 (DB2) subsystem without cycling DB2, said subsystem having a log management control block (LMB) chain that includes a log data set active log (LDSD) control block for each active log, a bootstrap data set (BSDS) data set having at least one BSDS active log record, and a cache including cached portions of the BSDS data set, said method comprising the steps of:

  • (a) verifying that sufficient storage in the BSDS active log record is available to add the new active log;

    (b) invoking the DB2 module DSNJDS01 with an ALLOCATE request to allocate the new active log data set and create a new LDSD control block for the new active log data set;

    (c) setting NEW and REUSABLE status flags in the new LDS D control block;

    (d) completing initialization of the new LDSD control block;

    (e) obtaining the LMB LOG WRITE latch;

    (f) adding the new LDSD control block to the LMB chain;

    (g) obtaining the BSDS ACCESS latch;

    (h) updating the BSDS to show the presence of the new active log;

    (i) updating the BSDS cache; and

    (j) releasing said latches.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×