System commands for Q Replication and Event Publishing

You can use system commands on Linux®, UNIX, Windows, and UNIX System Services (USS) on z/OS® to start, operate, and modify the replication programs.

You can specify parameters in any order as a name=value pair. Parameters and their arguments are not case sensitive. Use double quotation marks ("") if you want to preserve case.

Specifying yes/no (Boolean) parameters without an argument is supported, but not recommended. For example, specifying logreuse is the same as logreuse=y. But to specify no logreuse, you must use logreuse=n.

Invoking commands with a question mark (for example, asnoqcap ?) , displays a help message that shows the command syntax.

Table 1 helps you match common tasks with the system commands.

Table 1. Q Replication and Event Publishing tasks and their corresponding system commands
If you want to ... Use this system command
Start a Q Capture program and specify startup parameters (Linux, UNIX, Windows, z/OS) asnqcap: Starting a Q Capture program
Start a Q Capture program for Oracle sources and specify startup parameters (Linux, UNIX, Windows) asnoqcap: Starting a Q Capture program for an Oracle database
Work with a running Q Capture program (Linux, UNIX, Windows, z/OS)
  • Check parameter values
  • Change parameters
  • Prune the control tables
  • Check Q Capture status
  • Stop Q Capture
  • Reinitialize all Q subscriptions or publications
  • Reinitialize one send queue
asnqccmd: Working with a running Q Capture program
Work with a running Q Capture program for Oracle sources (Linux, UNIX, Windows)
  • Check parameter values
  • Change parameters
  • Prune the control tables
  • Check Q Capture status
  • Stop Q Capture
  • Reinitialize all Q subscriptions or publications
  • Reinitialize one send queue
asnoqccmd: Working with a running Q Capture program on Oracle databases
Start a Q Apply program and specify startup parameters (Linux, UNIX, Windows, z/OS) asnqapp: Starting a Q Apply program
Work with a running Q Apply program (Linux, UNIX, Windows, z/OS)
  • Check parameter values
  • Change parameters
  • Check Q Apply status
  • Prune the control tables
  • Stop Q Apply
  • Stop Q Apply reading from a queue
  • Start Q Apply reading from a queue
  • Reinitialize one receive queue
asnqacmd: Working with a running Q Apply program
Work with a running Q Apply program for native Oracle targets (Linux, UNIX, Windows) asnoqacmd: Working with a running Q Apply program for native Oracle targets