The ASNCLP commands for Event Publishing define and change publishing queue maps and publications. The commands also can be used to start and stop publications.
Sample ASNCLP scripts for setting up Event Publishing demonstrates how you can combine Event Publishing commands to create an ASNCLP setup script.
Table 1 lists the ASNCLP commands for Event Publishing and links to topics that describe each command.
If you want to ... | Use this command |
---|---|
Add a column to a publication | ALTER ADD COLUMN command |
Change a publishing queue map | ALTER PUBQMAP command |
Change a publication | ALTER PUB command |
Create the control tables for the Q Capture program | CREATE CONTROL TABLES FOR command |
Create a publishing queue map | CREATE PUBQMAP command |
Create a publication | CREATE PUB command |
Drop the control tables for the Q Capture program | DROP CONTROL TABLES ON command |
Delete a publishing queue map | DROP PUBQMAP command |
Delete a publication | DROP PUB command |
List publications | LIST PUBS command |
List publishing queue maps | LIST PUBQMAPS command |
List Q Capture schemas | LIST CAPTURE SCHEMA command |
Promote a publication | PROMOTE PUB command |
Promote a publishing queue map | PROMOTE PUBQMAP command |
Start a publication | START PUB command |
Set the Q Capture schema for all task commands | SET CAPTURE SCHEMA command |
Define the log file for the ASNCLP program | SET LOG command |
Define output files that contain SQL statements to set up Event Publishing | SET OUTPUT command |
Set the WebSphere MQ queue manager | SET QMANAGER command |
Specify whether to automatically run each task command from an input file before the ASNCLP program processes the next task command | SET RUN SCRIPT command |
Specify the Q Capture server to use in the ASNCLP session | SET SERVER command |
Enable and disable the trace for the ASNCLP commands | SET TRACE command |
Display the environment set during the session | SHOW SET ENV command |
Stop a publication | STOP PUB command |
Verify that the required WebSphere MQ objects exist and have the correct properties for schemas, queue maps, and publications. | VALIDATE WSMQ ENVIRONMENT FOR command |