Valid for
Extract
Description
Use RMTTASK to create a one-time processing task on the target system. RMTTASK directs the Manager process on the target system to start Replicat process automatically to load the data and then stop it when the task is finished. This parameter is used for initial data loads.
A RMTHOST statement must precede the RMTTASK statement. RMTTASK is required for batch tasks.
Syntax
RMTTASK task_name, GROUP group_name [, PARAMS "runtime_[, params"]
task_nameEnter REPLICAT, currently the only task on the remote system.
GROUP group_nameThe name of the initial-load Replicat group on the target system. This option defines the target Replicat group processes the load data.
PARAMS "runtime_params"Optional. Specifies run-time parameters to pass to the initial-load Replicat process other than standard parameters, such as report file, parameter file, and group name, which are supplied automatically.
Example
In the following example, records from table PRODUCT and ACCOUNT are sent to initial-load tasks on target system NY.
EXTRACT EXTTASK RMTHOST NY, MGRPORT 7809 RMTTASK REPLICAT, GROUP tabload TABLE $DATA.MASTER.PRODUCT; TABLE $DATA.MASTER.ACCOUNT;