PowerExchange for CDC and Mainframe
- PowerExchange for CDC and Mainframe 10.5.8
- All Products
ADDLIBLE LIB(dtllib) POSITION(*FIRST)
CRTPWXENV DESC('user_description') DATALIB(datalib) CONDLIB(condlib) ASPDEV(*NONE) CRTSYSOBJ(*YES) CPXLIB(cpxlib) JRNEXTSEQ(nnnn) RMTOSLEVEL(*LOCAL)
CRTPWXENV DESC('user_description') DATALIB(datalib) CONDLIB(condlib) ASPDEV(*NONE) CRTSYSOBJ(*YES) CPXLIB(cpxlib) JRNEXTSEQ(nnnn) RMTASPDEV(*NONE) RMTRDBDIRE(database_name) RMTSYSNAME(host_name) RMTOSLEVEL(os_level)
CRTPWXENV DESC('user_description') DATALIB(datalib) CONDLIB(*NONE) ASPDEV(*NONE) CRTSYSOBJ(*YES)
CRTPWXENV DESC('user_description') DATALIB(datalib) CONDLIB(condlib) ASPDEV(asp_device) CRTSYSOBJ(*YES) CPXLIB(cpxlib) JRNEXTSEQ(nnnn) RMTOSLEVEL(*LOCAL) EXTPGMLIB(exitlib)
Parameter
| Valid Values
| Description
|
---|---|---|
ASPDEV
| 1 to 10 characters
| Name of the ASP device where
dtllib resides. All PowerExchange libraries must reside on the same ASP device.
Default is *NONE.
|
CONDLIB
| 1 to 10 characters
| PowerExchange Condense library that contains objects such as a configuration source file, data files for checkpoints and condense files, message queues, and the PowerExchange Delete Journal Receiver exit program and its journal.
|
CPXLIB
| 1 to 10 characters
| PowerExchange capture library that contains the extraction map files.
Default is *NONE.
|
CRTSYSOBJ
| See next table.
| -
|
DATALIB
| 1 to 10 characters
| PowerExchange data library that contains objects such as a configuration source file, data files for capture registrations and condense files, the message log file, message queues, and PowerExchange job description.
|
DESC
| 1 to 25 characters
| A brief text description that PowerExchange uses when creating the
datalib ,
condlib , and
cpxlib libraries.
|
EXTPGMLIB
| 1 to 10 characters
| Specifies a PowerExchange Delete Journal exit program library.
Default is *NONE. Use the default unless you also specified the ASPDEV parameter.
|
JRNEXTSEQ
| 1000 through 9999
| A unique four-digit number that is used to register the PowerExchange Delete Journal Receiver exit program for the exit point QIBM_QJO_DLT_JRNRCV.
Specify a value that is not used on your system. To determine the numbers that are currently registered against the exit point, use the WRKREGINF command and then choose option 8.
Default is 1000.
|
RMTASPDEV
| Maximum length of 10 characters
| In a remote journaling environment, the name of an ASP device on which the CRTPWXENV command creates only dtllib and datalib libraries that contain a SQL package and SQL views for accessing source table metadata. This ASP device is remote from where you run the CRTPWXENV command and create the primary PowerExchange environment.
Include this parameter only if you plan to use remote journal receivers for CDC and want to use an ASP on the local system to store the files that the remote PowerExchange Listener requires to access the table metadata.
Default is *.
|
RMTOSLEVEL
| *LOCAL
V7R1M0
V7R2M0
V7R3M0
| Specifies the IBM i version that runs on a remote machine. Include this parameter only if the metadata being retrieved is for tables that are stored in libraries on a remote machine. If the metadata is on the machine where this command is executed, the software determines the operating system release level.
This parameter controls the views that the software builds over the system metadata tables.
|
RMTRDBDIRE
| Maximum length of 18 characters
| In a remote journaling environment, the name of Db2 database on the local system that contains the Db2 source tables for CDC. This value must have been defined to IBM i with the “Work with Relational Database Directory Entries” function (WRKRDBDIRE).
Include this parameter only if you plan to use remote journal receivers for CDC.
Default is *LOCAL.
|
RMTSYSNAME
| Maximum length of 68 characters
| In a remote journaling environment, the name of the IBM i host that contains the Db2 source tables for CDC and the local journals and journal receivers. Also called the local system. This value must have been defined to IBM i with the “Work with TCP/IP Host Table Entries” function.
Include this parameter only if you plan to use remote journal receivers for CDC.
Default is *NONE.
|
Object Type
| Description
| Object Name
| Library
|
---|---|---|---|
*CLS
| Class that defines the run-time attributes of PowerExchange jobs.
| DTLLIST
| datalib
|
*OUTQ
| Output queue that stores all spooled file outputs from PowerExchange jobs.
| datalib
| QGPL
|
*SBSD
| Subsystem description that is used to run all the PowerExchange jobs for this environment.
| datalib
| QGPL
|
*JOBQ
| Job queue that is associated with the subsystem description.
| datalib
| QGPL
|
*JOBD
| Job description that describes a job that uses all the system objects and libraries created for this environment.
| DTLLIST
| datalib
|
ENDSBS SBS(datalib) MOVOBJ OBJ(save_file_library/datalib) OBJTYPE(*OUTQ) TOLIB(newlib) MOVOBJ OBJ(save_file_library/datalib) OBJTYPE(*JOBQ) TOLIB(newlib) MOVOBJ OBJ(save_file_library/datalib) OBJTYPE(*SBSD) TOLIB(newlib) CHGJOBD JOBD(datalib/DTLLIST) JOBQ(newlib/datalib) OUTQ(newlib/datalib) RMVJOBQE SBSD(newlib/datalib) JOBQ(save_file_library/datalib) ADDJOBQE SBSD(newlib/datalib) JOBQ(newlib/datalib) MAXACT(*NOMAX) SEQNBR(1) MAXPTY1(*NOMAX) MAXPTY2(*NOMAX) MAXPTY3(*NOMAX) MAXPTY4(*NOMAX) MAXPTY5(*NOMAX) MAXPTY6(*NOMAX) MAXPTY7(*NOMAX) MAXPTY8(*NOMAX) MAXPTY9(*NOMAX) STRSBS SBSD(newlib/datalib)