CSQ4CVPT, sample messaging client

Use the sample messaging client program CSQ4CVPT from a CICS terminal under the CICS transaction MVMP.

Read syntax diagramSkip visual syntax diagram
Messaging client commands

                                           (1)   
>>-MVMP,--+-PUBLISH,-+-,-------------+---+---------------------><
          |          '-message text,-'   |       
          +-STOP,------------------------+       
          +-DEREGISTER,callback routine,-+       
          +-RESUME,callback routine,-----+       
          '-SUSPEND,callback routine,----'       

Notes:
  1. The keywords and the names of callback routines are not case-sensitive. Input fields are positional and are separated and terminated by commas.

Parameters

MVMP
The CICS transaction for CSQ4CVPT.
PUBLISH , { , | message text , }
Publish the specified message text as a WebSphere® MQ retained message under the topic News/Media/Movies . The message is consumed by the message consumer program CSQ4CVCN. If you omit the message text and specify the closing comma, default message text is published.
DEREGISTER , callback routine ,
Put a WebSphere MQ message to the queue SAMPLE.CONTROL.QUEUE to instruct the message consumer program CSQ4CVCT to deregister the specified callback routine.
  • If you deregister CSQ4CVCT, you can no longer control the behavior of the sample programs.
  • If you deregister all the callback routines, control returns to the registration client.
RESUME , callback routine ,
Put a WebSphere MQ message to the queue SAMPLE.CONTROL.QUEUE to instruct the message consumer program CSQ4CVCT to resume the specified callback routine.
SUSPEND , callback routine ,
Put a WebSphere MQ message to the queue SAMPLE.CONTROL.QUEUE to instruct the message consumer program CSQ4CVCT to suspend the specified callback routine.
  • If you suspend CSQ4CVCT, you can no longer control the behavior of the sample programs.
  • If you suspend all the callback routines, control returns to the registration client.
STOP ,
Put a WebSphere MQ message to the queue SAMPLE.CONTROL.QUEUE to instruct the message consumer program CSQ4CVCT to stop asynchronous message consumption by issuing an MQCTL STOP command. This action returns control to the registration client CSQ4CVRG.
To publish the default message text for consumption by CSQ4CVCN, use this command:
MVMP,PUBLISH,,
To publish the message text A short message for consumption by CSQ4CVCN, use this command:
MVMP,publish,A short message,
To stop asynchronous message consumption, use this command:
MVMP,STOP,
To deregister the event handler CSQ4CVEV, use this command:
MVMP,DEREGISTER,CSQ4CVEV,
To resume the message consumer CSQ4CVCN, use this command:
MVMP,resume,csq4cvcn,
To suspend the event handler CSQ4CVEV, use this command:
MVMP,SUSPEND,CSQ4CVEV,


async_sample_CSQ4CVPT.html | Timestamp icon Last updated: Monday, 5 June 2017