ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » 294 Sample questions

Post new topic  Reply to topic
 294 Sample questions « View previous topic :: View next topic » 
Author Message
Robertm
PostPosted: Wed Aug 27, 2003 1:06 am    Post subject: 294 Sample questions Reply with quote

Newbie

Joined: 27 Aug 2003
Posts: 8

Hi All,

Can some one give answers for these questions, i am preparing for 294 exams.

Thanks,
Robert




a)The following shows three scripts for the RUNMQSC utility which define
various queues and channels, and which customise the queue manager.

The three queue managers are running on three machines.
These are:
1 - a Sales Office - queue manager SalesOfficeQM
2 - an Order Processing system - queue manager OrdersQM
3 - an Invoicing system - queue manager InvoiceQM

All three queue managers are interconnected.


The first queue manager runs the Sales Office
This can send messages to both the Order
Processing system and the Invoicing system.

Sales Office - queue manager SalesOfficeQM
==========================================


ALTER QMGR DEFXMITQ('XmitOrdersQM') DEADQ('SalesOfficeQM.Dead.L.Queue')
DEFINE QLOCAL('SalesOfficeQM.Dead.L.Queue')

DEFINE QALIAS('PriorityOEntry') TARGQ('OnlineOEntry') DEFPRTY(5)
DEFINE QALIAS('BatchOEntry') TARGQ('OrderEntry') DEFPRTY(1)
DEFINE QALIAS('OnlineOEntry') TARGQ('OrderEntry') DEFPRTY(3)

DEFINE QREMOTE('OrderEntry') RNAME('OEntryQ') RQMNAME('OrdersQM') +
XMITQ('XmitOrdersQM')
DEFINE QREMOTE('InvoiceQry') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceUpd') RNAME('IUpdateQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceQry.Fast') RNAME('IInquiryQ') RQMNAME('InvoiceQM') +
XMITQ('XmitInvoiceQM.Fast')
DEFINE QREMOTE('Invoicing') RNAME() RQMNAME('XmitInvoiceQM')

DEFINE QLOCAL('XmitOrdersQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMITQ)
DEFINE QLOCAL('XmitInvoiceQM.Fast') USAGE(XMITQ)

DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(SDR) XMITQ('XmitOrdersQM')
DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(SDR) XMITQ('XmitInvoiceQM.Fast')



The second queue manager runs the Order Processing system.
This receives messages from the Sales Office and can
send messages to the Invoicing system.

Order Processing System - queue manager OrdersQM
================================================


ALTER QMGR DEFXMITQ('XmitInvoiceQM') DEADQ('OrdersQM.Dead.L.Queue')
DEFINE QLOCAL('OrdersQM.Dead.L.Queue')

DEFINE QLOCAL('OEntryQ')
DEFINE QLOCAL('OInquiryQ')

DEFINE QREMOTE('InvoiceInqQ') RNAME('InvoiceInqQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM')
DEFINE QREMOTE('InvoiceInqQ.Fast') RNAME('IInquiryQ') +
RQMNAME('InvoiceQM') XMITQ('XmitInvoiceQM.Fast')

DEFINE QLOCAL('XmitInvoiceQM') USAGE(XMIT)

DEFINE CHANNEL(SOQM.2.ORDQM) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(SDR) XMITQ('XmitInvoiceQM')


The third queue manager runs on the invoicing system.
This has links from both the Sales Office and the
Order Processing system


Invoicing System - queue manager InvoiceQM
==========================================


ALTER QMGR DEADQ('InvoiceQM.Dead.L.Queue')
DEFINE QLOCAL('InvoiceQM.Dead.L.Queue')

DEFINE QLOCAL('IInquiryQ')
DEFINE QLOCAL('IUpdateQ')

DEFINE CHANNEL(SOQM1.2.INVQM1) CHLTYPE(RCVR)
DEFINE CHANNEL(SOQM2.2.INVQM2) CHLTYPE(RCVR)
DEFINE CHANNEL(ORDQM.2.INVQM) CHLTYPE(RCVR)


An application running in the Sales Office does a PUT1 of a message, setting queue name to 'OEntryQ' and queue manager name

to 'XmitOrdersQM'. What is the final destination of the message?

A. queue OEntryQ on queue manager OrdersQM

B. queue OrdersQM.Dead.L.Queue on queue manager OrdersQM

C. queue SalesOfficeQM.Dead.L.Queue on queue manager SalesOfficeQM

D. queue XmitInvoiceQM on queue manager SalesOfficeQM


b)Queue Sharing Group (QSG1) has 4 queue managers, QM1, QM2, QM3, QM4. A shared queue is defined on QM1 by DEF QL(SQ1) QSGDISP(SHARED) CFSTRUCT(CF1). If an application connected to QM4 issues an MQPUT1 to SQ1, where will the message be physically held?

A. On DB2 tables

B. On QM1 pagesets

C. On QM4 pagesets

D. On the Coupling Facility structure CF1
[/b]
Back to top
View user's profile Send private message
dgolding
PostPosted: Wed Aug 27, 2003 2:46 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Hi Robert,

To be brutally honest, your best bet is not to be given the answer to these questions, but to know where to look to find the answer (how do you know this question will come up?)

The first one seems relatively straightforward, if a Xmit queue exists with the same name as the remote queue manager, the message is put to that queue - work through the queue and channel definitions.

The second one was interesting, look at the "Concepts and Planning Guide" for Z/OS - click on the "documentation" tab above on this web page. The question is actually a topic in the Websphere MQ for z/OS concepts (the section is "Where are shared queue messages held?" - almost word for word!).

HTH
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » 294 Sample questions
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.