mq interview q&s part 3

Upload: chlaxmikanth

Post on 10-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 MQ Interview q&s Part 3

    1/5

    1.If the client application is running on on machine and moved to another thenwhat is the attribute need to set.

    2.Qmgr Q1 in london and Qmr2 in paris forms a cluster. for adding Qmgr3 inwashington into the cluster how many more channels need to be created inQmgr1 and Qmgr2?

    3. When the 2 repositories go down what happens to other queue managers in thecluster.

    4. two channel are defined with same xmitq, when one channel is started whathappens when you try to start the other.

    5. To find out the status of a remote queue manager what command is used?

    6. Which exit is used to check if the user is trusted party?

    7. Two applications running on a Queumanagers are connected to 2 remote Queue

    managers via two XmitQueueus. Channels are running at ful capacity. How can weincrease the perfomance?

    8. An event message is generated in Qmgr1 and even messages are monitored byQmgr2. Expiration time of even message is 1 min. the link frm qmgr1 and qmgr2 isdown. What happens to the message?

    9. MQGET fails and the message is still in the Queue. What command is used to findthe error caused?

    10. Three Qmgrs Q1 Q2 Q3. There is no connection between Q1 and Q2. Amessage is put into Q1 and it has to reach Q3 via Q3.(Multi Hopping) Now the lnk

    between Q2 and Q3 is down. What happens to the message.

    11. Command USed to find the message length?

    12. which installable service component can be used for security?

    13. channels defined btwn qm1 and qm2 are qm1.t.qm2 & qm2.t.qm1. how toknow the link status

    14. how to define for port xxxx, in channel definition

    15. command used for browsing messages

  • 8/8/2019 MQ Interview q&s Part 3

    2/5

    1. How do you define when a message on a Queue to be shared on QmanagersQM1, QM2 and QM3?

    2. A person wants to define a Controlled Queue Manager, which will be used tocontrol objects on other Client Queue managers which one will mention the bestrealtionship between Controlled ueue manager and Client Queue manager?

    3. When a channel is running, if it fails suddenly, what command u use to roll theback the messages which are in Transmission Queue?

    4. When we try to put a message on a Queue and if it fails, with saying as Queue isin use. Which command u use to find which application uses this Queue?

    5. What is the command in Unix to direcly run the Channel?

    6. If the channel has to stop after 1hour how do u define Disconnect interval?

    7. If the AIX appilcation sends a message to Windows application where do u

    specify a convert option?

    8. If MQseries wants to know the conversation obtained by Sending applicationsends a message to Server, which option you use in message descriptor?

    9. When a message sending from one channel to another and if the message needsto be changed in header of the message where do u change it?

    10. If a channel is defined with TCP then which field will tell you the TCP value?

    Part-3

    *) Will PCF commands cover the same range of functions provided by the MQSCfacility?

    *) What is the character limit on properties of PCF commands?.

    *) What data type is used by MQAI to performs administration tasks on a queuemanager

    *) What is the only common property for both sender-receiver channel pair?

    *) Which agent in MQ will take care of taking messages from the transmissionqueue and put them on the communication link between the queue managers

    *) To set up a cluster, what channel definitions MUST be defined?

    *) Which parameter is not required for defining the receiver channel at the sourcequeue manager

    *) Will stopping a queue manager ends the command server associated with it ?

  • 8/8/2019 MQ Interview q&s Part 3

    3/5

    *)_ Which MQSC attribute defines whether a queue is a transmission queue or anormal queue ?

    *) The channel provides a one-way link to the remote queue manager. Messagesare queued at the transmission queue until the channel can accept them. When you

    define a channel, you must specify a transmission queue name at which end of themessage channel.

    *) Is there an attribute of the local queue manager where the transmission queuename can be defined?

    *) In addition to locating a queue on another queue manager, Can you use a localdefinition of a remote queue for any other purposes?

    *) When is data conversion recommended ?

    *) When you have used the CCSID attribute of the ALTER QMGR command tochange the CCSID of the queue manager. What should be done to use the changed

    CCSID value ?

    *) Which file on UNIX platforms, users can modify MQSeries configurationattributes within an MQSeries configuration file to effect changes for MQSeries onthe node as a whole.

    *) Which file on UNIX platforms, users can modify MQSeries configurationattributes within a queue manager configuration file to effect changes for specificqueue managers.

    *) Which file contains the following details?a. The name of the default queue manager

    b. The names of the queue managersc. The location of the files associated with each of them

    *) In MQSeries for UNIX systems, the AuthorizationService stanza and itsassociated ServiceComponent stanza are added automatically when the queuemanager is created, but can be overridden through the use of :-

    *) MQSeries queue managers handle the transfer of information that is potentiallyvaluable, so which types of security controls you need to consider ?

    *) do you need to be a member of the mqm group to issue MQI calls from anapplication program (unless you want to use the fastpath bindings on theMQCONNX call).

    A. TRU

    *) When are the security checks made for a typical application

    *) The OAM maintains an access control list (ACL) for each resource that it controls.Authorization data is stored on which local queue?

    *) What is the command used to change the authorizations to an object or to aclass of objects. ?

  • 8/8/2019 MQ Interview q&s Part 3

    4/5

    *) The command for creating a dead-letter queue in UNIX is ?

    *) IF undelivered message is simply put on the dead-letter queue at the receivingend, does channel and its transmission queue available?

    *) Which configuration file in UNIX systems contains configuration parameters for

    the queue manager?

    *) The only options to restart a Queue Manager is the Start command . Is it True?

    *) Object names in MQSC commands are folded to uppercase, unless the namesare not enclosed within single quotation marks ?

    *) How can you terminate command input explicitly?

    *) To stop working with MQSC commands interactively, which MQSC command isused :

    *) what happens if you dont specify queue manager name in runmqsc command?

    *) can you run control commands from runmqsc?

    *) Using runmqsc, which attribute of the queue manager will list the version of theMQSeries currently being used?

    *) When you use the LIKE attribute on a DEFINE command, you are copying thequeue attributes What about messages on that queue?

    *) If you decrease the maximum message length on an existing queue, existingmessages are affected ?

    *) If an application has the queue open, can the queue be cleared ?

    *) MQSeries provides a sample queue browser that you can use to look at thecontents of the messages on a queue. what two input parameters are required touse it?

    *) An alias queue provides a way of referring indirectly to another queue. Whattype of queue can be referred?

    *) Can An alias queue can be deleted, if an application currently has the referredqueue open?

    *) What is the convenient method for applications to create queues as they arerequired ?

    *) Triggering requires a number of queue attributes to be defined on the applicationqueue. How do you enable triggering itself?

  • 8/8/2019 MQ Interview q&s Part 3

    5/5

    *) When a trigger event occurs, the queue manager puts a trigger message on theinitiation queue specified in the application queue definition. Do Initiation queuesneed special settings ?

    *) Which attribue of the DEFINE PROCESS command have the name of theapplication executable file, specified as a fully qualified file name ?