|
Click here to expand for PTF BQU2282 applied
Note OLD OBJECTS is deprecated with PTF BQU2282. Important PTF BQU2282 does not support the old object data set. (PTF BQU1717 applied) Directs Log Master to update the old objects Repository table (ALPOLDO) or the SYSCOPY Repository table (ALPSYSCP), or both. Each set of rows in the old objects table defines a Db2 object at a given point in time. When Log Master is running in overtime mode and it encounters log records related to an object that is not currently defined in the Db2 catalog (for example, after the object has been dropped), it can use the old objects information and the SYSCOPY records in the Repository to process those log records. Log Master can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO.
Click here to expand for PTF BQU2282 applied
Note OLD OBJECTS is deprecated with PTF BQU2282. Important PTF BQU2282 does not support the old object data set. (PTF BQU1717 applied) Directs can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO.
Click here to expand for PTF BQU1717 applied
(PTF BQU1717 applied) Directs Log Master to update the old objects Repository table (ALPOLDO) or the SYSCOPY Repository table (ALPSYSCP), or both. Each set of rows in the old objects table defines a Db2 object at a given point in time. When Log Master is running in overtime mode and it encounters log records related to an object that is not currently defined in the Db2 catalog (for example, after the object has been dropped), it can use the old objects information and the SYSCOPY records in the Repository to process those log records. Log Master can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO. You can update the old objects information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
- The Db2 catalog (specify the PRIME FROM DB2 CATALOG keyword)
An old objects data set The old objects data set is used only when the OVERTIME update type is specified. You can create an old objects data set to hold structure definitions of Db2 objects that are not currently defined in the Db2 catalog (old objects). To define the data set, use special syntax in the old objects data set and specify the name on the OPTION statement. For more information, see OLD OBJECTS dataSetName.
(PTF BQU1717 applied) You can update the SYSCOPY information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
- The Db2 catalog, including SYSIBM.SYSCOPY tables (specify the PRIME FROM DB2 CATALOG keyword)
- The information defined in the IMAGECOPY statements
Values for REPOS UPDATE are as described in the following table. If you specify REPOS UPDATE without specifying one of these values, Log Master obtains old objects information from the Db2 log and does not include compression dictionaries or SYSCOPY information. | |
---|
REPOS UPDATE (without ONLY clause) | (default) Directs Log Master to update the old objects table (ALPOLDO) | | Directs Log Master not to use Db2 log as a source for old objects and SYSCOPY information for the Repository update | | Directs Log Master to update the old objects and SYSCOPY information in the Repository with object descriptions and SYSCOPY records from the Db2 catalog Log Master searches for old objects information and SYSCOPY records in both the Db2 catalog and the Db2 log, unless you specify the NOSCAN keyword. You can store multiple versions of table objects in the Repository. You should run a REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN using the OVERTIME option after updating the table in the Db2 catalog and using the SYSCOPY options before you modify records out of SYSCOPY tables |

REPOS UPDATE include options | |
---|
| Directs Log Master to store both old objects information and copies of compression dictionaries in the old objects table of the Repository. When a valid compression dictionary is not available, Log Mastercan use a copy stored in the Repository to interpret log records of compressed table spaces. Log Master can obtain dictionaries from the following listed in order of preference: - Current table space
- Db2 log
- Old objects table of the Repository
- Image copies of the table space
For Db2 Load or Reorg actions that specify the DB2 KEEPDICTIONARY keyword, Log Master uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. The placeholder sets the values of REC_CNT and REC_SEQ to zero for the Db2 Load or Reorg action. Using a placeholder in this way ensures that for every rebuilt copy of a compression dictionary, Log Master stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, Log Master loads only one copy in memory. | | Directs Log Master to update ALPOLDO table only with compression dictionaries—no old objects in ALPOLDO and no SYSCOPY records in ALPSYSCP. | | Directs Log Master to update the SYSCOPY table (ALPSYSCP) and ALPOLDO. | | Directs Log Master to update the SYSCOPY table only. | | Specifies the start point when scanning for SYSCOPY records deleted from SYSIBM.SYSCOPY because of a DROP TABLESPACE or MODIFY, see Range-definition. RBA, LRSN, DATE/TIME, and MARK are supported for REPOS UPDATE INCLUDE SYSCOPY. |
The following tables show the action that Log Master takes depending on the value of REPOS UPDATE and whether you specify an old objects data set. Product action determined by REPOS UPDATE value | | |
---|
REPOS UPDATE (no parameters) | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 log
- Might not add a row for a defined object (if the scan range does not include a CREATE or DROP for that object)
| REPOS UPDATE (no parameters) | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 log that meet the criteria of the WHERE clause (use NOSCAN to prevent scan of Db2 log)
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
- Adds a row for each unique CREATE and DROP RBA set which Log Master encounters for a defined object
- When processing Db2 catalog, adds a new row to the repository if the current version of the Db2 catalog table does not match the current version of the Repository table
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in either the Db2 log or the Db2 catalog that meet the WHERE clause (use NOSCAN to prevent scan of Db2 log)
- Adds an additional row for any new versioned object found in the Db2 catalog that meets the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
|
Product action determined by REPOS UPDATE INCLUDE SYSCOPY value
Click here to expand for PTF BQU1717 applied
(PTF BQU1717 applied) Directs Log Master to update the old objects Repository table (ALPOLDO) or the SYSCOPY Repository table (ALPSYSCP), or both. Each set of rows in the old objects table defines a Db2 object at a given point in time. When Log Master is running in overtime mode and it encounters log records related to an object that is not currently defined in the Db2 catalog (for example, after the object has been dropped), it can use the old objects information and the SYSCOPY records in the Repository to process those log records. Log Master can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO. You can update the old objects information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
- The Db2 catalog (specify the PRIME FROM DB2 CATALOG keyword)
An old objects data set The old objects data set is used only when the OVERTIME update type is specified. You can create an old objects data set to hold structure definitions of Db2 objects that are not currently defined in the Db2 catalog (old objects). To define the data set, use special syntax in the old objects data set and specify the name on the OPTION statement. For more information, see OLD OBJECTS dataSetName.
(PTF BQU1717 applied) You can update the SYSCOPY information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
- The Db2 catalog, including SYSIBM.SYSCOPY tables (specify the PRIME FROM DB2 CATALOG keyword)
- The information defined in the IMAGECOPY statements
Values for REPOS UPDATE are as described in the following table. If you specify REPOS UPDATE without specifying one of these values, Log Master obtains old objects information from the Db2 log and does not include compression dictionaries or SYSCOPY information. | |
---|
REPOS UPDATE (without ONLY clause) | (default) Directs Log Master to update the old objects table (ALPOLDO) | | Directs Log Master not to use Db2 log as a source for old objects and SYSCOPY information for the Repository update | | Directs Log Master to update the old objects and SYSCOPY information in the Repository with object descriptions and SYSCOPY records from the Db2 catalog Log Master searches for old objects information and SYSCOPY records in both the Db2 catalog and the Db2 log, unless you specify the NOSCAN keyword. You can store multiple versions of table objects in the Repository. You should run a REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN using the OVERTIME option after updating the table in the Db2 catalog and using the SYSCOPY options before you modify records out of SYSCOPY tables |

REPOS UPDATE include options | |
---|
| Directs Log Master to store both old objects information and copies of compression dictionaries in the old objects table of the Repository. When a valid compression dictionary is not available, Log Mastercan use a copy stored in the Repository to interpret log records of compressed table spaces. Log Master can obtain dictionaries from the following listed in order of preference: - Current table space
- Db2 log
- Old objects table of the Repository
- Image copies of the table space
For Db2 Load or Reorg actions that specify the DB2 KEEPDICTIONARY keyword, Log Master uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. The placeholder sets the values of REC_CNT and REC_SEQ to zero for the Db2 Load or Reorg action. Using a placeholder in this way ensures that for every rebuilt copy of a compression dictionary, Log Master stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, Log Master loads only one copy in memory. | | Directs Log Master to update ALPOLDO table only with compression dictionaries—no old objects in ALPOLDO and no SYSCOPY records in ALPSYSCP. | | Directs Log Master to update the SYSCOPY table (ALPSYSCP) and ALPOLDO. | | Directs Log Master to update the SYSCOPY table only. | | Specifies the start point when scanning for SYSCOPY records deleted from SYSIBM.SYSCOPY because of a DROP TABLESPACE or MODIFY, see Range-definition. RBA, LRSN, DATE/TIME, and MARK are supported for REPOS UPDATE INCLUDE SYSCOPY. |
The following tables show the action that Log Master takes depending on the value of REPOS UPDATE and whether you specify an old objects data set. Product action determined by REPOS UPDATE value | | |
---|
REPOS UPDATE (no parameters) | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 log
- Might not add a row for a defined object (if the scan range does not include a CREATE or DROP for that object)
| REPOS UPDATE (no parameters) | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 log that meet the criteria of the WHERE clause (use NOSCAN to prevent scan of Db2 log)
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
- Adds a row for each unique CREATE and DROP RBA set which Log Master encounters for a defined object
- When processing Db2 catalog, adds a new row to the repository if the current version of the Db2 catalog table does not match the current version of the Repository table
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in either the Db2 log or the Db2 catalog that meet the WHERE clause (use NOSCAN to prevent scan of Db2 log)
- Adds an additional row for any new versioned object found in the Db2 catalog that meets the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
|
Db2 does not store information about utilities executed against the SYSIBM.SYSCOPY table’s table space in SYSIBM.SYSCOPY. This information can only be found in the log. We recommend including SYSIBM.SYSCOPY to their filter when running REPOS UPDATE INCLUDE SYSCOPY when updating the Log Master repository. Doing so will include the SYSCOPY information for SYSIBM.SYSCOPY found in the log during the LOGSCAN to the Log Master repository table.
Click here to expand REPOS UPDATE description before PTF BQU1717.
Directs Log Master to update or insert rows in the old objects table (ALPOLDO) of the Repository. Each set of rows in the old objects table defines a Db2 object at a given point in time. When to update or insert rows in the old objects table (ALPOLDO) of the Repository. When Log Master is running in overtime mode and it encounters log records related to an object that is not currently defined in the Db2 catalog (for example, after the object has been dropped), it can use the old objects information and the SYSCOPY records in the Repository to process those log records. Log Master can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO. You can update the old objects information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
Click here to expand REPOS UPDATE description before PTF BQU1717.
Directs is running in overtime mode and it encounters log records related to an object that is not currently defined in the Db2 catalog (for example, after the object has been dropped), it can use the old objects information and the SYSCOPY records in the Repository to process those log records. Log Master can use compression dictionaries stored in the Repository when it runs in current or overtime mode unless the value of the REPOS keyword on the OPTION statement is NO. You can update the old objects information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)
- An old objects data set
You can create an old objects data set to hold structure definitions of Db2 objects that are not currently defined in the Db2 catalog (old objects). To define the data set, use special syntax in the old objects data set and specify the name on the OPTION statement. For more information, see and OLD OBJECTS data set.
Values for REPOS UPDATE are as follows. If you specify REPOS UPDATE without specifying one of these values, Log Master obtains old objects information from the Db2 log and does not include compression dictionaries. | |
---|
| Directs Log Master not to use the Db2 log as a source for the old objects information in the Repository. | | Directs Log Master to update the old objects information in the Repository with object descriptions from the Db2 catalog. Log Master searches for old objects information in both the Db2 catalog and the Db2 log unless you specify the NOSCAN keyword. Consider the following: - You can store multiple versions of table objects in the Repository.
- You should run a REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN after updating the table in the Db2 catalog.
| | Directs Log Master to store both old objects information and copies of compression dictionaries in the old objects table of the Repository. When a valid compression dictionary is not available, Log Master can use a copy stored in the Repository to interpret log records of compressed table spaces. Log Master can obtain dictionaries from the following listed in order of preference: - Current table space
- Db2 log
- Old objects table of the Repository
- Image copies of the table space
For Db2 Load or Reorg actions that specify the DB2 KEEPDICTIONARY keyword, Log Master uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. The placeholder sets the values of REC_CNT and REC_SEQ to zero for the Db2 Load or Reorg action. Using a placeholder in this way ensures that for every rebuilt copy of a compression dictionary, Log Master stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, Log Master loads only one copy in memory. |
The following table shows the action that Log Master takes depending on the value of REPOS UPDATE and whether you specify an old objects data set. | | |
---|
REPOS UPDATE (no parameters) | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 log
- Might not add a row for a defined object (if the scan range does not include a CREATE or DROP for that object)
| REPOS UPDATE (no parameters) | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 log that meet the criteria of the WHERE clause (use NOSCAN to prevent scan of Db2 log)
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
- Adds a row for each unique CREATE and DROP RBA set which Log Master encounters for a defined object
- When processing Db2 catalog, adds a new row to the repository if the current version of the Db2 catalog table does not match the current version of the Repository table
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in either the Db2 log or the Db2 catalog that meet the WHERE clause (use NOSCAN to prevent scan of Db2 log)
- Adds an additional row for any new versioned object found in the Db2 catalog that meets the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
|
Note the following points regarding the REPOS UPDATE keyword: - Log Master cannot update the Repository if the value of the REPOS keyword on the OPTION statement is NO.
To update the old objects table in the Repository, you must specify the following additional keywords: - Specify the DB2CATALOG keyword of the LOGSCAN statement as YES
- Specify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIME
Important (PTF BQU1148 applied) To keep the Repository current, update it after create, drop, and alter events to objects that are maintained in the Repository. - When you specify REPOS UPDATE, Log Master can generate a DDL output file or a Catalog Activity report in the same log scan, but it cannot generate other forms of output, such as other reports or SQL. To generate other forms of output in the same job, include an additional, separate log scan step. You cannot include two REPOS UPDATE log scans in the same work ID.
- Log Master only creates objects in the ALPOLDO table for compression dictionaries that are rebuilt by Db2, and adds only one copy of an unchanged compression dictionary to the table.
- Schedule jobs that update the Repository to run before
- Regular production processing. For example, if you run a set of jobs every week, you should run a job to update the Repository before you run the weekly processing jobs.
- Db2 Load or Reorg actions that update compression dictionaries or that might assign table rows to different record ID (RID) values
- If you update the Repository regularly, BMC Software recommends that you also run regular jobs to delete old or unusable data from the old objects table. Alternately, you can delete (or display) information from this table by using an option on the Main Menu of the Log Master online interface.
- Log Master cannot update the Repository when the input source for your log scan is a logical log file generated by Log Master or another program (INPUT LLOG).
- When you store compression dictionaries in the Repository, you should
Run periodic jobs that update the Repository with current dictionaries Be sure to update the Repository before you use a Db2 Modify utility to delete any information about selected objects from the SYSIBM.SYSCOPY table. Delete any rows from the Repository that represent old compression dictionaries if you decide to stop storing dictionaries in the Repository If you do not delete the old dictionary rows, and you use a Modify utility to delete information from the SYSCOPY table, Log Master can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see Maintaining-the-Repository.
- You can update the old objects information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the Log Master online interface.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
The Db2 catalog (specify the PRIME FROM DB2 CATALOG keyword) - An old objects data set
You can create an old objects data set to hold structure definitions of Db2 objects that are not currently defined in the Db2 catalog (old objects). To define the data set, use special syntax in the old objects data set and specify the name on the OPTION statement. For more information, see The Db2 catalog (specify the PRIME FROM DB2 CATALOG keyword) OLD OBJECTS data set.
Values for REPOS UPDATE are as follows. If you specify REPOS UPDATE without specifying one of these values, Log Master obtains old objects information from the Db2 log and does not include compression dictionaries. | |
---|
| Directs Log Master not to use the Db2 log as a source for the old objects information in the Repository. | | Directs Log Master to update the old objects information in the Repository with object descriptions from the Db2 catalog. Log Master searches for old objects information in both the Db2 catalog and the Db2 log unless you specify the NOSCAN keyword. Consider the following: - You can store multiple versions of table objects in the Repository.
- You should run a REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN after updating the table in the Db2 catalog.
| | Directs Log Master to store both old objects information and copies of compression dictionaries in the old objects table of the Repository. When a valid compression dictionary is not available, Log Master can use a copy stored in the Repository to interpret log records of compressed table spaces. Log Master can obtain dictionaries from the following listed in order of preference: - Current table space
- Db2 log
- Old objects table of the Repository
- Image copies of the table space
For Db2 Load or Reorg actions that specify the DB2 KEEPDICTIONARY keyword, Log Master uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. The placeholder sets the values of REC_CNT and REC_SEQ to zero for the Db2 Load or Reorg action. Using a placeholder in this way ensures that for every rebuilt copy of a compression dictionary, Log Master stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, Log Master loads only one copy in memory. |
The following table shows the action that Log Master takes depending on the value of REPOS UPDATE and whether you specify an old objects data set. | | |
---|
REPOS UPDATE (no parameters) | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 log
- Might not add a row for a defined object (if the scan range does not include a CREATE or DROP for that object)
| REPOS UPDATE (no parameters) | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 log that meet the criteria of the WHERE clause (use NOSCAN to prevent scan of Db2 log)
| REPOS UPDATE PRIME FROM DB2CATALOG | Not specifiedNot specified | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
- Adds a row for each unique CREATE and DROP RBA set which Log Master encounters for a defined object
- When processing Db2 catalog, adds a new row to the repository if the current version of the Db2 catalog table does not match the current version of the Repository table
| REPOS UPDATE PRIME FROM DB2CATALOG | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in either the Db2 log or the Db2 catalog that meet the WHERE clause (use NOSCAN to prevent scan of Db2 log)
- Adds an additional row for any new versioned object found in the Db2 catalog that meets the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
|
Note the following points regarding the REPOS UPDATE keyword: - Log Master cannot update the Repository if the value of the REPOS keyword on the OPTION statement is NO.
To update the old objects table in the Repository, you must specify the following additional keywords: - Specify the DB2CATALOG keyword of the LOGSCAN statement as YES
- Specify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIME
Important (PTF BQU1148 applied) To keep the Repository current, update it after create, drop, and alter events to objects that are maintained in the Repository. - When you specify REPOS UPDATE, Log Master can generate a DDL output file or a Catalog Activity report in the same log scan, but it cannot generate other forms of output, such as other reports or SQL. To generate other forms of output in the same job, include an additional, separate log scan step. You cannot include two REPOS UPDATE log scans in the same work ID.
- Log Master only creates objects in the ALPOLDO table for compression dictionaries that are rebuilt by Db2, and adds only one copy of an unchanged compression dictionary to the table.
- Schedule jobs that update the Repository to run before
- Regular production processing. For example, if you run a set of jobs every week, you should run a job to update the Repository before you run the weekly processing jobs.
- Db2 Load or Reorg actions that update compression dictionaries or that might assign table rows to different record ID (RID) values
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects table. Alternately, you can delete (or display) information from this table by using an option on the Main Menu of the Log Master online interface.
- Log Master cannot update the Repository when the input source for your log scan is a logical log file generated by Log Master or another program (INPUT LLOG).
- When you store compression dictionaries in the Repository, you should
Run periodic jobs that update the Repository with current dictionaries Be sure to update the Repository before you use a Db2 Modify utility to delete any information about selected objects from the SYSIBM.SYSCOPY table. Delete any rows from the Repository that represent old compression dictionaries if you decide to stop storing dictionaries in the Repository If you do not delete the old dictionary rows, and you use a Modify utility to delete information from the SYSCOPY table, Log Master can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see Maintaining-the-Repository.
- You can update the old objects information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the Log Master online interface.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
| |
---|
REPOS UPDATE INCLUDE SYSCOPY (no parameters) | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from both the Db2 log and the Db2 catalog, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 catalog only, within the specified logscan range
| REPOS UPDATE INCLUDE SYSCOPY START <range definition> | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Impacts SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY if within the specified START point and TO point
|
Note the following points regarding the REPOS UPDATE keyword: - Log Master cannot update the Repository if the value of the REPOS keyword on the OPTION statement is NO.
- To update the old objects table, SYSCOPY table, or both in the Repository, you must specify the following additional keywords:
- Specify the DB2CATALOG keyword of the LOGSCAN statement as YESSpecify the DB2CATALOG keyword of the LOGSCAN statement as YES
- Specify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIMESpecify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIME
Important To keep the Repository current, run REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN with the required update type, OVERTIME or SYSCOPY, after you change old objects in the Db2 catalog or before you perform a Modify on SYSIBM.SYSCOPY. - When you specify REPOS UPDATE, Log Master can generate a DDL output file or a Catalog Activity report in the same log scan, but it cannot generate other forms of output, such as other reports or SQL. To generate other forms of output in the same job, include an additional, separate log scan step. You cannot include two REPOS UPDATE log scans in the same work ID.
- Log Master only creates objects in the ALPOLDO table for compression dictionaries that are rebuilt by Db2, and adds only one copy of an unchanged compression dictionary to the table.
- Schedule jobs that update the Repository to run before:
- Regular production processing. For example, if you run a set of jobs every week, you should run a job to update the Repository before you run the weekly processing jobs.
- Db2 Load or Reorg actions that update compression dictionaries or that might assign table rows to different record ID (RID) values
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects table. Alternately, you can delete (or display) information from ALPOLDO by using an option on the Main Menu of the Log Master online interface. online interface.
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects and SYSCOPY tables. Alternately, you can delete (or display) information from this tables by using an option on the Main Menu of the Log Master online interface online interface
- Log Master cannot update the Repository when the input source for your log scan is a logical log file generated by Log Master or another program (INPUT LLOG). or another program (INPUT LLOG).
- When you store compression dictionaries in the Repository, you should
Run periodic jobs that update the Repository with current dictionaries Be sure to update the Repository before you use a Db2 Modify utility to delete any information about selected objects from the SYSIBM.SYSCOPY table. Delete any rows from the Repository that represent old compression dictionaries if you decide to stop storing dictionaries in the Repository If you do not delete the old dictionary rows, and you use a Modify utility to delete information from the SYSCOPY table, Log Master can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see Maintaining-the-Repository.
- You can update the old objects or SYSCOPY information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the You can update the old objects or SYSCOPY information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the Log Master online interface. online interface.
- Db2 does not store information about utilities executed against the SYSIBM.SYSCOPY table’s table space in SYSIBM.SYSCOPY. This information can only be found in the log. BMC recommends including SYSIBM.SYSCOPY to their filter when running REPOS UPDATE INCLUDE SYSCOPY when updating the Log Master repository. Doing so will include the SYSCOPY information for SYSIBM.SYSCOPY found in the log during the LOGSCAN to the Log Master repository table.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
| |
---|
REPOS UPDATE INCLUDE SYSCOPY (no parameters) | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from both the Db2 log and the Db2 catalog, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 catalog only, within the specified logscan range
| REPOS UPDATE INCLUDE SYSCOPY START <range definition> | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Impacts SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY if within the specified START point and TO point
|
Note the following points regarding the REPOS UPDATE keyword: - Cannot update the Repository if the value of the REPOS keyword on the OPTION statement is NO.
- To update the old objects table, SYSCOPY table, or both in the Repository, you must specify the following additional keywords:
- Specify the DB2CATALOG keyword of the LOGSCAN statement as YES
- Specify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIME
Important To keep the Repository current, run REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN with the required update type, OVERTIME or SYSCOPY, after you change old objects in the Db2 catalog or before you perform a Modify on SYSIBM.SYSCOPY. - When you specify REPOS UPDATE, Log Master can generate a DDL output file or a Catalog Activity report in the same log scan, but it cannot generate other forms of output, such as other reports or SQL. To generate other forms of output in the same job, include an additional, separate log scan step. You cannot include two REPOS UPDATE log scans in the same work ID.
- Log Master only creates objects in the ALPOLDO table for compression dictionaries that are rebuilt by Db2, and adds only one copy of an unchanged compression dictionary to the table.
- Schedule jobs that update the Repository to run before
- Regular production processing. For example, if you run a set of jobs every week, you should run a job to update the Repository before you run the weekly processing jobs.
- Db2 Load or Reorg actions that update compression dictionaries or that might assign table rows to different record ID (RID) values
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects table. Alternately, you can delete (or display) information from ALPOLDO by using an option on the Main Menu of the Log Master online interface.
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects and SYSCOPY tables. Alternately, you can delete (or display) information from these tables by using an option on the Main Menu of the Log Master online interface
- Log Master cannot update the Repository when the input source for your log scan is a logical log file generated by Log Master or another program (INPUT LLOG).
- When you store compression dictionaries in the Repository, you should
Run periodic jobs that update the Repository with current dictionaries Be sure to update the Repository before you use a Db2 Modify utility to delete any information about selected objects from the SYSIBM.SYSCOPY table. Delete any rows from the Repository that represent old compression dictionaries if you decide to stop storing dictionaries in the Repository If you do not delete the old dictionary rows, and you use a Modify utility to delete information from the SYSCOPY table, Log Master can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see Maintaining-the-Repository.
- You can update the old objects or SYSCOPY information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the Log Master online interface.
- Db2 does not store information about utilities executed against the SYSIBM.SYSCOPY table’s table space in SYSIBM.SYSCOPY. This information can only be found in the log. BMC recommends including SYSIBM.SYSCOPY to their filter when running REPOS UPDATE INCLUDE SYSCOPY when updating the Log Master repository. Doing so will include the SYSCOPY information for SYSIBM.SYSCOPY found in the log during the LOGSCAN to the Log Master repository table.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
You can update the old objects information in the Repository from the following sources:You can update the old objects information in the Repository from the following sources: - The Db2 log (used by default unless you specify the NOSCAN keyword)The Db2 log (used by default unless you specify the NOSCAN keyword)
The Db2 catalog (specify the PRIME FROM Db2 CATALOG keyword)The Db2 catalog (specify the PRIME FROM Db2 CATALOG keyword) (PTF BQU1717 applied) You can update the SYSCOPY information in the Repository from the following sources:
- The Db2 log (used by default unless you specify the NOSCAN keyword)
- The Db2 catalog, including SYSIBM.SYSCOPY tables (specify the PRIME FROM Db2 CATALOG keyword)
- The information defined in the IMAGECOPY statements
Values for REPOS UPDATE are as described in the following table. If you specify REPOS UPDATE without specifying one of these values, Log Master obtains old objects information from the Db2 log and does not include compression dictionaries or SYSCOPY information. | |
---|
REPOS UPDATE (without ONLY clause) | (default) Directs Log Master to update the old objects table (ALPOLDO) | | Directs Log Master not to use Db2 log as a source for old objects and SYSCOPY information for the Repository update | | Directs Log Master to update the old objects and SYSCOPY information in the Repository with object descriptions and SYSCOPY records from the Db2 catalog Log Master searches for old objects information and SYSCOPY records in both the Db2 catalog and the Db2 log, unless you specify the NOSCAN keyword. You can store multiple versions of table objects in the Repository. You should run a REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN using the OVERTIME option after updating the table in the Db2 catalog and using the SYSCOPY options before you modify records out of SYSCOPY tables |

REPOS UPDATE include options | |
---|
| Directs Log Master to store both old objects information and copies of compression dictionaries in the old objects table of the Repository. When a valid compression dictionary is not available, Log Master can use a copy stored in the Repository to interpret log records of compressed table spaces. Log Master can obtain dictionaries from the following listed in order of preference: - Current table space
- Db2 log
- Old objects table of the Repository
- Image copies of the table space
For Db2 Load or Reorg actions that specify the DB2 KEEPDICTIONARY keyword, Log Master uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. The placeholder sets the values of REC_CNT and REC_SEQ to zero for the Db2 Load or Reorg action. Using a placeholder in this way ensures that for every rebuilt copy of a compression dictionary, uses a record in the old objects table of the Repository as a placeholder to indicate that the corresponding compression dictionary was not rebuilt. Log Master stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, stores only one dictionary object in the Repository. In addition, when using the dictionaries for decompression, Log Master loads only one copy in memory. loads only one copy in memory. | | Directs Log Master to update ALPOLDO table only with compression dictionaries—no old objects in ALPOLDO and no SYSCOPY records in ALPSYSCP. | | Directs Log Master to update the SYSCOPY table (ALPSYSCP) and ALPOLDO. | | Directs Directs Log Master to update the SYSCOPY table only. | | Specifies the start point when scanning for SYSCOPY records deleted from SYSIBM.SYSCOPY because of a DROP TABLESPACE or MODIFY, see Range-definition. RBA, LRSN, DATE/TIME, and MARK are supported for REPOS UPDATE INCLUDE SYSCOPY. |
The following tables show the action that Log Master takes depending on the value of REPOS UPDATE. Product action determined by REPOS UPDATE value | |
---|
REPOS UPDATE (no parameters) | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 log
- Might not add a row for a defined object (if the scan range does not include a CREATE or DROP for that object)
| REPOS UPDATE (no parameters) | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 log that meet the criteria of the WHERE clause (use NOSCAN to prevent scan of Db2 log)
| REPOS UPDATE PRIME FROM DB2CATALOG | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
- Adds a row for each unique CREATE and DROP RBA set which Log Master encounters for a defined object
- When processing Db2 catalog, adds a new row to the repository if the current version of the Db2 catalog table does not match the current version of the Repository table
| REPOS UPDATE PRIME FROM DB2CATALOG | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from both the Db2 log and the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in either the Db2 log or the Db2 catalog that meet the WHERE clause (use NOSCAN to prevent scan of Db2 log)
- Adds an additional row for any new versioned object found in the Db2 catalog that meets the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | - Uses the WHERE clause to define the objects that are added to the old objects table
- Obtains object information from only the Db2 catalog
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN | - Adds all objects specified in the old objects data set to the old objects table
- Adds an additional row for any objects found in the Db2 catalog that meet the criteria of the WHERE clause
|
Product action determined by REPOS UPDATE INCLUDE SYSCOPY value | |
---|
REPOS UPDATE INCLUDE SYSCOPY (no parameters) | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from both the Db2 log and the Db2 catalog, within the specified logscan range
- Does not impact SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY
| REPOS UPDATE PRIME FROM DB2CATALOG NOSCAN INCLUDE SYSCOPY
| - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 catalog only, within the specified logscan range
| REPOS UPDATE INCLUDE SYSCOPY START <range definition> | - Uses the WHERE clause to define the records that are added to the ALPSYSCP table
- Obtains impacted SYSCOPY records from the Db2 log only, within the specified logscan range
- Impacts SYSCOPY log activity resulting from a DROP TABLESPACE or MODIFY if within the specified START point and TO point
|
Note the following points regarding the REPOS UPDATE keyword: - Product action determined by REPOS UPDATE INCLUDE SYSCOPY valueLog Master cannot update the Repository if the value of the REPOS keyword on the OPTION statement is NO.
- To update the old objects table, SYSCOPY table, or both in the Repository, you must specify the following additional keywords:
- Specify the DB2CATALOG keyword of the LOGSCAN statement as YES
- Specify the EXECMODE keyword of the OPTION statement as OVERTIME or ensure that the value of the EXECMODE installation option is OVERTIME
Important To keep the Repository current, run REPOS UPDATE PRIME FROM DB2 CATALOG NOSCAN with the required update type, OVERTIME or SYSCOPY, after you change old objects in the Db2 catalog or before you perform a Modify on SYSIBM.SYSCOPY. - When you specify REPOS UPDATE, Log Master can generate a DDL output file or a Catalog Activity report in the same log scan, but it cannot generate other forms of output, such as other reports or SQL. To generate other forms of output in the same job, include an additional, separate log scan step. You cannot include two REPOS UPDATE log scans in the same work ID.
- Log Master only creates objects in the ALPOLDO table for compression dictionaries that are rebuilt by Db2, and adds only one copy of an unchanged compression dictionary to the table.
- Schedule jobs that update the Repository to run before:
- Regular production processing. For example, if you run a set of jobs every week, you should run a job to update the Repository before you run the weekly processing jobs.
- Db2 Load or Reorg actions that update compression dictionaries or that might assign table rows to different record ID (RID) values
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects table. Alternately, you can delete (or display) information from ALPOLDO by using an option on the Main Menu of the Log Master online interface.
- If you update the Repository regularly, we recommend that you also run regular jobs to delete old or unusable data from the old objects and SYSCOPY tables. Alternately, you can delete (or display) information from these tables by using an option on the Main Menu of the Log Master online interface
- Log Master cannot update the Repository when the input source for your log scan is a logical log file generated by Log Master or another program (INPUT LLOG).
- When you store compression dictionaries in the Repository, you should
Run periodic jobs that update the Repository with current dictionaries Be sure to update the Repository before you use a Db2 Modify utility to delete any information about selected objects from the SYSIBM.SYSCOPY table. Delete any rows from the Repository that represent old compression dictionaries if you decide to stop storing dictionaries in the Repository If you do not delete the old dictionary rows, and you use a Modify utility to delete information from the SYSCOPY table, Log Master can use an incorrect dictionary from the Repository. For information about deleting rows from the Repository, see Maintaining-the-Repository.
- You can update the old objects or SYSCOPY information in the Repository by using the Generate REPOS UPDATE JCL option on the Main Menu of the Log Master online interface.
- Db2 does not store information about utilities executed against the SYSIBM.SYSCOPY table’s table space in SYSIBM.SYSCOPY. This information can only be found in the log. BMC recommends including SYSIBM.SYSCOPY to their filter when running REPOS UPDATE INCLUDE SYSCOPY when updating the Log Master repository. Doing so will include the SYSCOPY information for SYSIBM.SYSCOPY found in the log during the LOGSCAN to the Log Master repository table.
For more information about the old objects table, the Repository, and the associated batch syntax, see Processing-objects-over-time.
|