Search

Saturday, September 29, 2012

MQ Batch Triggering Process


We can set up MQ job through MQ triggering Process. Job will be automatically triggered through MQ. Whenever the message is written to MQ the job mentioned will get triggered (G170G170). Here are the steps to be followed.

SET UP MQ Trigger batch job


Select Storage class as batch


Select Initiation queue






Following set up will trigger job directly. Write job name in the application id.



Select User Date as the program to be executed.





2 comments:

  1. Hi,

    Can you please let me know if for INITQ01 can we use any Queue from our system. Or else how INITQ01 is defined to the mainframe queue.

    Regards,
    Priya.

    ReplyDelete
    Replies
    1. Hi Priya,

      Thanks for your comments. INITQ01 queue can be defined via MQ job or MQ admin can also create via panel.

      Initiation queue is responsible for triggering a transaction for a trigger queue. A trigger queue is one that can be used to start a transaction based on the queue depth ( depends on the trigger type). There is a process definition related to the Trigger Queue and Initiation Queue, which includes the information of the process( Transaction) that will start when the triggering depth is achieved.

      Also check how to define Initition Queue here:

      http://www.ibmsystemsmag.com/mainframe/administrator/systemsmanagement/Consistent-Messaging/?page=2

      Please let me know if you have more queries.


      Regards,
      The Big Old Mainframe Team

      Delete