|
Guess What ???? I had a "brain fade" ... I have already solved this problem! Utilizing several TAATOOLS I wrote a CLP called CHKQMSTS back in January. It does the following to determine if an MQM process is active: CHECK TO SEE IF SUBSYSTEM QMQM IS ACTIVE IF NOT ... EXIT WITH AN ESCAPE MESSAGE CHECK TO SEE IF ANY AMQZXMA0 JOBS ARE ACTIVE IF NOT ... EXIT WITH AN ESCAPE MESSAGE CHECK TO SEE IF THE QUEUE MANAGER SPECIFIED IS BEING SERVICED BY ONE OF THE AMQZXMA0 JOBS (List all AMQZXMA0 joblogs to a DB file and then query it) IF NOT ... EXIT WITH AN ESCAPE MESSAGE IF THE QUEUE MANAGER SPECIFIED IS RUNNING, END NORMALLY The CHKQMSTS program is called by another program called DLY4MQM. If CHKQMSTS returns an escape message, it waits for a couple of minutes and tries again. Sometimes I surprise myself... Ha! Kenneth **************************************** Kenneth E. Graap IBM Certified Specialist iSeries Multiple System Administrator NW Natural (Gas Services) keg@xxxxxxxxxxxxx Phone: 503-226-4211 x5537 FAX: 503-721-2518 **************************************** -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Michael Ryan Sent: Monday, December 11, 2006 2:20 PM To: Midrange Systems Technical Discussion Subject: Re: MQ Series No, but if i did, I would probably use QUSLJOB to list the AMQZXMA0 jobs in QMQM, and then look at their jobs logs to determine if they reference the queue manager I am investigating. There may be other cool ways too... On 12/11/06, Graap, Kenneth <keg@xxxxxxxxxxxxx> wrote:
Has anyone written an i5 program that can be submitted to batch and check to see if an MQSeries Manager is active? The WRKMQ* interactive commands provides this information, but the ones I need to use don't support SPOOL or OUTFILE output options. Kenneth **************************************** Kenneth E. Graap IBM Certified Specialist iSeries Multiple System Administrator NW Natural (Gas Services) keg@xxxxxxxxxxxxx Phone: 503-226-4211 x5537 FAX: 503-721-2518 **************************************** -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.