Help Q Replication and Event Publishing

VALIDATE WSMQ ENVIRONMENT FOR command

Use the VALIDATE WSMQ ENVIRONMENT FOR command to verify that the required WebSphere® MQ objects exist and have the correct properties for Q replication schemas, queue maps, and Q subscriptions.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-VALIDATE WSMQ ENVIRONMENT FOR-------------------------------->

>--+-CAPTURE SCHEMA--------------------------------------------------------+-><
   +-APPLY SCHEMA----------------------------------------------------------+   
   +-PUBQMAP--publishing_queue_map_name------------------------------------+   
   +-REPLQMAP--replication_queue_map_name----------------------------------+   
   '-QSUB--q_subscription_name--USING REPLQMAP--replication_queue_map_name-'   

Parameters

CAPTURE SCHEMA
Specify to check the validity of the queue manager, restart queue, and administration queue that are defined for a Q Capture schema.
APPLY SCHEMA
Specify to check the validity of the queue manager that is defined for a Q Apply schema.
PUBQMAP
Specify to check the validity of the send queue that is specified for a publishing queue map.
REPLQMAP
Specify to check the validity of the send queue, receive queue, and Q Apply administration queue that are specified for a replication queue map. The ASNCLP program checks to see if parallel send queues are being used for the queue map. If so it checks the validity of all of the send queues.
QSUB
Specify to check the validity of the model queue that is defined to create spill queues for a Q subscription.

Usage notes

Messages that describe the results of the tests are sent to the standard output (stdout).

Example 1

To check the validity of the send queue, receive queue, and Q Apply administration queue that are specified for a replication queue map SAMPLE_ASN_TO_TARGET_ASN:
VALIDATE WSMQ ENVIRONMENT FOR REPLQMAP SAMPLE_ASN_TO_TARGET_ASN

Example 2

To check the validity of the model queue that is specified for the Q Subscription EMPLOYEE0001 that uses the replication queue map SAMPLE_ASN_TO_TARGET_ASN:
VALIDATE WSMQ ENVIRONMENT FOR QSUB EMPLOYEE0001
USING REPLQMAP SAMPLE_ASN_TO_TARGET_ASN


Send your feedback | Information roadmap | The Q+SQL Replication Forum

Update icon Last updated: 2013-10-25