Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange Change Data Capture Introduction
  3. Part 2: CDC Components Configuration and Management
  4. Part 3: CDC Sources Configuration and Management
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: CDC for z/OS Troubleshooting
  8. Appendix B: DTL__CAPXTIMESTAMP Time Stamps

DEFINE_LOG Command

DEFINE_LOG Command

The DEFINE_LOG command adds log definitions to the emergency restart data set. Use the DEFINE_LOG command to perform the following tasks:
  • Add a definition for a new active log to the restart data set.
  • Add a definition for a replacement active log to the restart data set.
  • Add a definition for a replacement archive log to the restart data set.
The DEFINE_LOG command has the following syntax for active logs:
DEFINE_LOG DSName=
data_set_name
, COPY={PRILOG|SECLOG}, [STARTRBA=X’
start_rba
’,ENDRBA=X’
end_rba
’] END
The DEFINE_LOG command has the following syntax For archive logs:
DEFINE_LOG DSName=
data_set_name
, STARTRBA=X’
start_rba
’,ENDRBA=X’
end_rba
’ END
The following table describes the DEFINE_LOG parameters:
Parameter
Definition
Valid Values
DSNAME
Specifies a log data set name.
The data set name can be up to 44 characters long.
COPY
Specifies which copy of the active log you are defining.
This parameter is valid only when you are specifying active log options.
  • PRILOG
    indicates that you are defining a primary log data set for the PowerExchange Logger to use.
  • SECLOG
    indicates that you are defining a secondary log (backup copy).
STARTRBA
Specifies the log RBA of the beginning of either the replacement active log data set or the replacement archive log data set volume specified by data_set_name.
You can obtain the start RBA from messages or by using the PowerExchange Logger DISPLAY command.
You must enter this parameter for archive log definitions. It is optional for active log definitions.
Enter up to 12 hexadecimal digits for the start_rba value preceding them with the character X and enclosing them in single quotation marks.
If you enter fewer than 12 digits, the PowerExchange Logger adds leading zeros.
Use this parameter only for replacement log data sets.
ENDRBA
Specifies the log RBA of the end of either the replacement active log data set or the replacement archive log data set volume specified by data_set_name.
You can obtain the end RBA from messages or by using the PowerExchange Logger DISPLAY command.
You must enter this parameter for archive log definitions. For active log definitions, this parameter is required if you specified STARTRBA.
Enter up to 12 hexadecimal digits for the end_rba value preceding them with the character X and enclosing them in single quotation marks.
If you enter fewer than 12 digits, the PowerExchange Logger adds leading zeros.
Use this parameter only for replacement log data sets.
END
Indicates that the input for this command is complete.
This parameter is required.

0 COMMENTS

We’d like to hear from you!