Getting started with the ASNCLP program

The replication programs store information about your configurations in control tables. The ASNCLP commands create, modify, and remove this information.

The ASNCLP program generates SQL scripts that insert or modify information into the control tables about replication sources, targets, queues, and other options. You can use multiple commands together to generate the SQL for an entire configuration. Three types of commands are available:

Task commands
These commands create, modify, list, or remove replication objects such as control tables and queue maps. They also start objects such as Q subscriptions and publications.
Environment commands
These commands define the environment for task commands. For example, they define the servers where objects are created, set defaults for task commands, and identify output files for messages that are issued when the ASNCLP processes task commands.
Validation commands
These commands validate some aspects of the runtime environment for Q Capture and Q Apply. For example, they can validate the attributes of WebSphere MQ objects for replication or publishing.

The ASNCLP program can process these commands in one of three modes:

Batch Assemble ASNCLP commands in a script file that is processed by a single invocation of the program
Interactive Run ASNCLP commands one at a time from a command prompt
Execute immediately Run independent operational commands such as START QSUB

The best way to get started writing ASNCLP scripts is to work from the examples found in these topics: