Initialize DPR Capture (INZDPRCAP)

The Initialize DPR Capture (INZDPRCAP) command initializes the DataPropagator for iSeries Capture instance by directing the Capture instance to work with an updated list of files (both local and remote)in the register table for the given capture control library. The Capture instance must be running before you run this command.

The initialization function is cumulative. Files being journaled to the journals specified on the JRN parameter are added to those currently being processed by the Capture process.

If files that are currently being processed have been removed from the Change Data Control table, the Capture process stops processing them. If a file is already being processed by the Capture process, it will not be added again.

Error Messages for INZDPRCAP

*ESCAPE Messages

ASN2551
Capture schema not found in the Userspace.
ASN2553
Could not get lock on User Space QZS8CTLBLK.
ASN2555
Attempt to change user space QZS8CTLBLK in ASN failed.
ASN2557
User Space ASN/QZS8CTLBLK not found.
ASN2563
Capture instance is not active.
ASN2564
Capture instance is already ending with option .
ASN2565
Capture instance is ending with option .

Parameters

Keyword Description Choices Notes
CAPCTLLIB Capture control library Name, ASN Optional, Positional 1
JRN Journal Single values: *ALL
Other values (up to 3 repetitions): Qualified object name
Optional, Positional 2
Qualifier 1: Journal Name
Qualifier 2: Library Name, *LIBL, *CURLIB

Capture control library (CAPCTLLIB)

Specifies the name of the Capture Instance to initialize.

ASN
Specifies the default capture instance provided with the DataPropagator product for iSeries and defined as the first capture instance.
capture-instance-name
Specifies the library where the capture control tables resides.

Journal (JRN)

Specify a list of up to 50 journals that you want the Capture instance to work with. Capture will start processing all of the source tables registered in the given capture control library that are currently journaled to the specified journal or journals.

*ALL
Capture will start working with all of the journals that are associated with all of the source tables registered in the given capture control library.
library-name/journal-name
Specify the qualified name of the journal that you want the Capture process to work with.

Examples

None

Error messages

*ESCAPE Messages

ASN2551
Capture schema not found in the Userspace.
ASN2553
Could not get lock on User Space QZS8CTLBLK.
ASN2555
Attempt to change user space QZS8CTLBLK in ASN failed.
ASN2557
User Space ASN/QZS8CTLBLK not found.
ASN2563
Capture instance is not active.
ASN2564
Capture instance is already ending with option .
ASN2565
Capture instance is ending with option .