PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.5.2
- All Products
DEFINE_LOG|DEFL LOG_DSNNAME=data_set_name, TYpe={ACtive|ARchive}, COPY={PRILOG|SECLOG}, STARTRBA=X'start_rba', ENDRBA=X'end_rba', TODSTATIME=X'start_time', TODENDTIME=X'end_time' END
Fproc_name,DEFINE_LOG DSNAME=data_set_name,TYPE=ACTIVE,COPY=PRILOG
Fproc_name,DEFINE_LOG DSNAME=data_set_name,TYPE=ARCHIVE, Fproc_name,STARTRBA=X'start_rba_value',ENDRBA=X'end_rba_value'
Parameter
| Definition
| Valid Values
|
---|---|---|
COPY or C
| Indicates which copy of the active log you are defining: the primary log or secondary log.
This parameter is required for all DEFINE_LOG commands.
|
|
DSN, DSNAME, or LOG_DSNAME
| The log data set name. This name must be cataloged.
This parameter is required for all DEFINE_LOG commands.
| A data set name up to 44 characters in length.
|
ENDRBA or ENDR
| The RBA of the end of the archive log data set that is specfied in the DSN parameter. To find the end RBA, review messages.
This parameter also requires the STARTRBA parameter.
This parameter is required for archive logs only.
| An RBA value in hexadecimal format, beginning with “X” and followed by up to 12 hexadecimal digits enclosed in single-quotation marks. Zero fill if necessary to ensure an even number of digits. For example: X'07BF5F8000'.
The ENDRBA value must be greater than the STARTRBA value.
|
STARTRBA or STARTR
| The RBA of the beginning of the archive log data set that is specified in the DSN parameter. To find the start RBA, review messages.
This parameter also requires the ENDRBA parameter.
This parameter is required for archive logs only.
| An RBA value in hexadecimal format, beginning with “X” and followed by up to 12 hexadecimal digits enclosed in single-quotation marks. Zero fill if necessary to ensure an even number of digits. For example: X'08CF6F9022'.
|
TODENDTIIME or TODE
| For a Post-Log-Merge environment, this parameter specifies the timestamp of the end of the archive log that is specified in the DSN parameter.
This parameter is required only for archive logs in a Post-Log-Merge environment. Do not use the parameter if you are defining a new log data set or if you do not use the Post-Log-Merge function.
To find the timestamp for the end of the archive log, review the messages that were generated when the log data set was originally created.
This parameter also requires the TODSTATIME parameter.
| A timestamp value in hexadecimal format, beginning with "X" and followed by up to 16 hexadecimal digits enclosed in single quotations marks. Zero fill if necessary to ensure an even number of digits. For example: X'DB484C50183E9817'.
|
TODSTATIME or TODS
| For a Post-Log-Merge environment, this parameter specifies the timestamp of the start of the archive log that is specified in the DSN parameter.
This parameter is required only for archive logs in a Post-Log-Merge environment. Do not use the parameter if you are defining a new log data set or if you do not use the Post-Log Merge function.
To find the timestamp for the start of the archive log, review the messages that were generated when the log data set was originally created.
This parameter also requires the TODENDTIME parameter.
| A timestamp value in hexadecimal format, beginning with "X" and followed by up to 16 hexadecimal digits enclosed in single quotations marks. Zero fill if necessary to ensure an even number of digits. For example: X'CA373B49072D8706'.
|
TYPE or TY
| The type of PowerExchange Logger log data set.
|
|
DEFINE_LOG DSNAME=PWXUSR1.ARCHLOG1.PWXL.LG1.D2007331.T1536523, TYPE=ARCHIVE, COPY=SECLOG, STARTR=X'08CF6F9022', ENDR=X'07BF5F7FFF', TODS=X'CA373B49072D8706', TODE=X'DB484C50183E9817' END
PWXEDM172576I DEFINE_LOG command ended RC=0
DEFINE_LOG DSNAME=PWXUSR1.ARCHLOG1.PWXL.LG1.D2007331.T1536523, TY=AR, C=S END
PWXEDM172749E LOG_DSNAME not cataloged PWXEDM172748W STARTRBA is 0 PWXEDM172749E ENDRBA is 0 PWXEDM172749E TODSTATIME not specified PWXEDM172749E TODENDTIME not specified PWXEDM172576I DEFINE_LOG command ended RC=8
DEFLOG DSNAME=PWXUSR1.ARCHLOG1.PWXL.LG1.D2007331.T1536523, TY=AR, COPY=SECLOG, STARTR=X'08CF6F9022', ENDR=X'07BF5F7FFF', TODS=X'CA373B49072D8706' END
PWXEDM172730E Odd number of hexadecimal digits for TODS PWXEDM172574W Command set and/or input block flushed PWXEDM172740E Command processor was expecting a command, found END PWXEDM172574W Command set and/or input block flushed