Skip to main content

MQSC commands / mqsc command reference / ibm mqsc commands

The MQSC commands
==================

This section describes, in alphabetic order, all the MQSC commands that can be issued by operators and administrators.

* ALTER AUTHINFO
Use the MQSC command ALTER AUTHINFO to alter an authentication information object. Start of changeThese objects contain the definitions required to perform certificate revocation checking using OCSP or Certificate Revocation Lists (CRLs) on LDAP servers.End of change

* ALTER BUFFPOOL
Use the MQSC command ALTER BUFFPOOL to dynamically add buffers to a predefined buffer pool, or remove buffers from a predefined buffer pool.

* ALTER CFSTRUCT
Use the MQSC command ALTER CFSTRUCT to alter the CF application structure backup and recovery parameters for any specified application structure.

* ALTER CHANNEL
Use the MQSC command ALTER CHANNEL to alter the parameters of a channel.

* ALTER LISTENER
Use MQSC command ALTER LISTENER to alter the parameters of an existing WebSphere® MQ listener definition. If the listener is already running, any changes you make to its definition are effective only after the next time that the listener is started.

* ALTER NAMELIST
Use the MQSC command ALTER NAMELIST to alter a list of names. This is most commonly a list of cluster names or queue names.

* ALTER PROCESS
Use the MQSC command ALTER PROCESS to alter the parameters of an existing WebSphere MQ process definition.

* ALTER PSID
Use the MQSC command ALTER PSID to change the expansion method for a page set.

* ALTER QMGR
Use the MQSC command ALTER QMGR to alter the queue manager parameters for the local queue manager.

* ALTER queues
Use the MQSC command ALTER command to alter the parameters of a local queue (ALTER QLOCAL), alias queue (ALTER QALIAS), model queue (ALTER QMODEL), a remote queue, a queue-manager alias, or a reply-to queue alias (ALTER QREMOTE).

* ALTER SECURITY
Use the MQSC command ALTER SECURITY to define system-wide security options.

* ALTER SERVICE
Use the MQSC command ALTER SERVICE to alter the parameters of an existing WebSphere MQ service definition.

* ALTER STGCLASS
Use the MQSC command ALTER STGCLASS to alter the characteristics of a storage class.

* ALTER SUB
Use the MQSC command ALTER SUB to alter the characteristics of an existing subscription.

* ALTER TOPIC
Use ALTER TOPIC to alter the parameters of an existing WebSphere MQ topic object.
* ALTER TRACE
Use the MQSC command ALTER TRACE to change the trace events being traced for a particular active queue manager trace. ALTER TRACE stops the specified trace, and restarts it with the altered parameters.

* ARCHIVE LOG
Use the MQSC command ARCHIVE LOG as part of your backup procedure. It takes a copy of the current active log (or both logs if you are using dual logging).

* BACKUP CFSTRUCT
Use the MQSC command BACKUP CFSTRUCT to initiate a CF application structure backup.

* CLEAR QLOCAL
Use the MQSC command CLEAR QLOCAL to clear the messages from a local queue.

* CLEAR TOPICSTR
Use the MQSC command CLEAR TOPICSTR to clear the retained message which is stored for the specified topic string.

* DEFINE AUTHINFO
Use the MQSC command DEFINE AUTHINFO to define an authentication information object. Start of changeThese objects contain the definitions required to perform certificate revocation checking using OCSP or Certificate Revocation Lists (CRLs) on LDAP servers.End of change

* DEFINE BUFFPOOL
Use the MQSC command DEFINE BUFFPOOL to define a buffer pool that is used for holding messages in main storage.

* DEFINE CFSTRUCT
Use the MQSC command DEFINE CFSTRUCT to define queue manager CF level capability, and backup and recovery parameters for a Coupling Facility application structure.

* DEFINE CHANNEL
Use the MQSC command DEFINE CHANNEL to define a new channel, and set its parameters.

* DEFINE LISTENER
Use the MQSC command DEFINE LISTENER to define a new WebSphere MQ listener definition, and set its parameters.

* DEFINE LOG
Use the MQSC command DEFINE LOG to add a new active log data set in the ring of active logs.

* DEFINE MAXSMSGS
Use the MQSC command DEFINE MAXSMSGS to define the maximum number of messages that a task can get or put within a single unit of recovery.

* DEFINE NAMELIST
Use the MQSC command DEFINE NAMELIST to define a list of names. This is most commonly a list of cluster names or queue names.

* DEFINE PROCESS
Use the MQSC command DEFINE PROCESS to define a new WebSphere MQ process definition, and set its parameters.

* DEFINE PSID
Use the MQSC command DEFINE PSID to define a page set and associated buffer pool.

* DEFINE QUEUE

* DEFINE SERVICE

Use the MQSC command DEFINE SERVICE to define a new WebSphere MQ service definition, and set its parameters.

* DEFINE STGCLASS
Use the MQSC command DEFINE STGCLASS to define a storage class to page set mapping.

* DEFINE SUB
Use DEFINE SUB to allow an existing application to participate in a publish/subscribe application by allowing the administrative creation of a subscription.

* DEFINE TOPIC
Use DEFINE TOPIC to define a new WebSphere MQ administrative topic node in a topic tree, and set its parameters.

* DELETE AUTHINFO
Use MQSC command DELETE AUTHINFO to delete an authentication information object.

* DELETE BUFFPOOL
Use the MQSC command DELETE BUFFPOOL to delete a buffer pool that is used for holding messages in main storage.

* DELETE CFSTRUCT
Use the MQSC command DELETE CFSTRUCT to delete a CF application structure definition.

* DELETE CHANNEL
Use the MQSC command DELETE CHANNEL to delete a channel definition.

* DELETE LISTENER
Use the MQSC command DELETE LISTENER to delete a listener definition.

* DELETE NAMELIST
Use the MQSC command DELETE NAMELIST to delete a namelist definition.

* DELETE PROCESS
Use the MQSC command DELETE PROCESS to delete a process definition.


* DELETE PSID
Use the MQSC command DELETE PSID to delete a page set. This command closes the page set and de-allocates it from the queue manager.

* DELETE queues

* DELETE SERVICE
Use the MQSC command DELETE SERVICE to delete a service definition.

* DELETE SUB
Use the MQSC command DELETE SUB to remove a durable subscription from the system. For a managed destination, any unprocessed messages left on the destination are removed.

* DELETE STGCLASS
Use the MQSC command DELETE STGCLASS to delete a storage class definition.

* DELETE TOPIC
Use DELETE TOPIC to delete a WebSphere MQ administrative topic node.

* DISPLAY ARCHIVE
Use the MQSC command DISPLAY ARCHIVE to display archive system parameters and information.

* DISPLAY AUTHINFO
Use the MQSC command DISPLAY AUTHINFO to display the attributes of an authentication information object.

* DISPLAY CFSTATUS
Use the MQSC command DISPLAY CFSTATUS to display the status of one or more CF application structures. This command is valid only on WebSphere MQ for z/OS® when the queue manager is a member of a queue-sharing group.

* DISPLAY CFSTRUCT
Use the MQSC command DISPLAY CFSTRUCT to display the attributes of one or more CF application structures. This command is valid only on z/OS when the queue manager is a member of a queue-sharing group.

* DISPLAY CHANNEL
Use the MQSC command DISPLAY CHANNEL to display a channel definition.

* DISPLAY CHINIT
Use the MQSC command DISPLAY CHINIT to display information about the channel initiator. The command server must be running.

* DISPLAY CHSTATUS
Use the MQSC command DISPLAY CHSTATUS to display the status of one or more channels.

* DISPLAY CLUSQMGR
Use the MQSC command DISPLAY CLUSQMGR to display information about cluster channels for queue managers in a cluster.

* DISPLAY CMDSERV
Use the MQSC command DISPLAY CMDSERV to display the status of the command server.

* DISPLAY CONN
Use the MQSC command DISPLAY CONN to display connection information about the applications connected to the queue manager. This is a useful command because it enables you to identify applications with long-running units of work.

* DISPLAY GROUP
Use the MQSC command DISPLAY GROUP to display information about the queue-sharing group to which the queue manager is connected. This command is valid only when the queue manager is a member of a queue-sharing group.

* DISPLAY LISTENER
Use the MQSC command DISPLAY LISTENER to display information about a listener.

* DISPLAY LOG
Use the MQSC command DISPLAY LOG to display log system parameters and information.

* DISPLAY LSSTATUS
Use the MQSC command DISPLAY LSSTATUS to display status information for one or more listeners.

* DISPLAY MAXSMSGS
Use the MQSC command DISPLAY MAXSMSGS to see the maximum number of messages that a task can get or put within a single unit of recovery.

* DISPLAY NAMELIST
Use the MQSC command DISPLAY NAMELIST to display the names in a namelist.

* DISPLAY PROCESS
Use the MQSC command DISPLAY PROCESS to display the attributes of one or more WebSphere MQ processes.

* DISPLAY PUBSUB
Use the MQSC command DISPLAY PUBSUB to display publish/subscribe status information for a queue manager.

* DISPLAY QMGR
Use the MQSC command DISPLAY QMGR to display the queue manager parameters for this queue manager.

* DISPLAY QMSTATUS
Use the MQSC command DISPLAY QMSTATUS to display status information associated with this queue manager.

* DISPLAY QSTATUS
Use the MQSC command DISPLAY QSTATUS to display the status of one or more queues.

* DISPLAY QUEUE
Use the MQSC command DISPLAY QUEUE to display the attributes of one or more queues of any type.

* DISPLAY SBSTATUS
Use the MQSC command DISPLAY SBSTATUS to display the status of a subscription.

* DISPLAY SECURITY
Use the MQSC command DISPLAY SECURITY to display the current settings for the security parameters.

* DISPLAY SERVICE
Use the MQSC command DISPLAY SERVICE to display information about a service.

* DISPLAY STGCLASS
Use the MQSC command DISPLAY STGCLASS to display information about storage classes.

* DISPLAY SUB
Use the MQSC command DISPLAY SUB to display the attributes associated with a subscription.

* DISPLAY SVSTATUS
Use the MQSC command DISPLAY SVSTATUS to display status information for one or more services.

* DISPLAY SYSTEM
Use the MQSC command DISPLAY SYSTEM to display general system parameters and information.
* DISPLAY THREAD
Use the MQSC command DISPLAY THREAD to display information about active and in-doubt threads.

* DISPLAY TOPIC
Use the MQSC command DISPLAY TOPIC to display the attributes of one or more WebSphere MQ topic objects of any type.

* DISPLAY TPSTATUS
Use the MQSC command DISPLAY TPSTATUS to display the status of one or more topic nodes in a topic tree.

* DISPLAY TRACE
Use the MQSC command DISPLAY TRACE to display a list of active traces.

* DISPLAY USAGE
Use the MQSC command DISPLAY USAGE to display information about the current state of a page set, or to display information about the log data sets.

* MOVE QLOCAL
Use the MQSC command MOVE QLOCAL to move all the messages from one local queue to another.

* PING CHANNEL
Use the MQSC command PING CHANNEL to test a channel by sending data as a special message to the remote queue manager, and checking that the data is returned. The data is generated by the local queue manager.

* PING QMGR
Use the MQSC command PING QMGR to test whether the queue manager is responsive to commands.

* RECOVER BSDS
Use the MQSC command RECOVER BSDS to reestablish a dual bootstrap data set (BSDS) after one has been disabled by a data set error.

* RECOVER CFSTRUCT
Use the MQSC command RECOVER CFSTRUCT to initiate recovery of CF application structures. This command is valid only when the queue manager is a member of a queue-sharing group.

* REFRESH CLUSTER
Use the MQSC command REFRESH CLUSTER to discard all locally held cluster information (including any autodefined channels that are in doubt), and force it to be rebuilt. This enables you to perform a "cold-start" on the cluster.

* REFRESH QMGR
Use the MQSC command REFRESH QMGR to perform special operations on queue managers.

* REFRESH SECURITY
Use the MQSC command REFRESH SECURITY to perform a security refresh.

* RESET CHANNEL
Use the MQSC command RESET CHANNEL to reset the message sequence number for a WebSphere MQ channel with, optionally, a specified sequence number to be used the next time that the channel is started.

* RESET CLUSTER
Use the MQSC command RESET CLUSTER to perform special operations on clusters.

* RESET QMGR
Use the MQSC command RESET QMGR as part of your backup and recovery procedures.

* RESET QSTATS
Use the MQSC command RESET QSTATS to report performance data for a queue and then to reset that data.

* RESET TPIPE
Use the MQSC command RESET TPIPE to reset the recoverable sequence numbers for an IMS™ Tpipe used by the WebSphere MQ-IMS bridge.

* RESOLVE CHANNEL
Use the MQSC command RESOLVE CHANNEL to request a channel to commit or back out in-doubt messages.

* RESOLVE INDOUBT
Use the MQSC command RESOLVE INDOUBT to resolve threads left in doubt because WebSphere MQ or a transaction manager could not resolve them automatically.

* RESUME QMGR
Use the MQSC command RESUME QMGR to inform other queue mangers in a cluster that the local queue manager is available again for processing and can be sent messages. It reverses the action of the SUSPEND QMGR command.

* RVERIFY SECURITY
Use the MQSC command RVERIFY SECURITY to set a reverification flag for all specified users. The user is reverified the next time that security is checked for that user.

* SET ARCHIVE
Use the MQSC command SET ARCHIVE to dynamically change certain archive system parameter values initially set by your system parameter module at queue manager startup.

* SET LOG
Use the MQSC command SET LOG to dynamically change certain log system parameter values that were initially set by your system parameter module at queue manager startup.

* SET SYSTEM
Use the MQSC command SET SYSTEM to dynamically change certain general system parameter values that were initially set from your system parameter module at queue manager startup.

* START CHANNEL
Use the MQSC command START CHANNEL to start a channel.

* START CHINIT
Use the MQSC command START CHINIT to start a channel initiator.

* START CMDSERV
Use the MQSC command START CMDSERV to initialize the command server.

* START LISTENER
Use the MQSC command START LISTENER to start a channel listener.

* START QMGR
Use the MQSC command START QMGR to initialize the queue manager.

* START SERVICE
Use the MQSC command START SERVICE to start a service. The identified service definition is started within the queue manager and inherits the environment and security variables of the queue manager.

* START TRACE
Use the MQSC command START TRACE to start traces.

* STOP CHANNEL
Use the MQSC command STOP CHANNEL to stop a channel.

* STOP CHINIT
Use the MQSC command STOP CHINIT to stop a channel initiator. The command server must be running.

* STOP CMDSERV
Use the MQSC command STOP CMDSERV to stop the command server.

* STOP CONN
Use the MQSC command STOP CONN to break a connection between an application and the queue manager.

* STOP LISTENER
Use the MQSC command STOP LISTENER to stop a channel listener.

* STOP QMGR
Use the MQSC command STOP QMGR to stop the queue manager.

* STOP SERVICE
Use the MQSC command STOP SERVICE to stop a service.

* STOP TRACE
Use the MQSC command STOP TRACE to stop tracing.

* SUSPEND QMGR
Use the MQSC command SUSPEND QMGR to inform other queue managers in a cluster that the local queue manager is not available for processing and cannot be sent messages, or to suspend logging and update activity for the queue manager until a subsequent RESUME QMGR command is issued. Its action can be reversed by the RESUME QMGR command.

Comments

adsrerrapop

Popular posts from this blog

IBM Websphere MQ interview Questions Part 5

MQ Series: - It is an IBM web sphere product which is evolved in 1990’s. MQ series does transportation from one point to other. It is an EAI tool (Middle ware) VERSIONS:-5.0, 5.1, 5.3, 6.0, 7.0(new version). The currently using version is 6.2 Note: – MQ series supports more than 35+ operating systems. It is platform Independent. For every OS we have different MQ series software’s. But the functionality of MQ series Default path for installing MQ series is:- C: programfiles\BM\clipse\SDK30 C: programfiles\IBM\WebsphereMQ After installation it will create a group and user. Some middleware technologies are Tibco, SAP XI. MQ series deals with two things, they are OBJECTS, SERVICES. In OBJECTS we have • QUEUES • CHANNELS • PROCESS • AUTHENTICATION • QUERY MANAGER. In SERVICES we have LISTENERS. Objects: – objects are used to handle the transactions with the help of services. QUEUE MANAGER maintains all the objects and services. QUEUE: – it is a database structure

IBM Websphere MQ Reason code list / mq reason codes / websphere mq error codes / mq error messages

Reason code list ================= The following is a list of reason codes, in numeric order, providing detailed information to help you understand them, including: * An explanation of the circumstances that have caused the code to be raised * The associated completion code * Suggested programmer actions in response to the code * 0 (0000) (RC0): MQRC_NONE * 900 (0384) (RC900): MQRC_APPL_FIRST * 999 (03E7) (RC999): MQRC_APPL_LAST * 2001 (07D1) (RC2001): MQRC_ALIAS_BASE_Q_TYPE_ERROR * 2002 (07D2) (RC2002): MQRC_ALREADY_CONNECTED * 2003 (07D3) (RC2003): MQRC_BACKED_OUT * 2004 (07D4) (RC2004): MQRC_BUFFER_ERROR * 2005 (07D5) (RC2005): MQRC_BUFFER_LENGTH_ERROR * 2006 (07D6) (RC2006): MQRC_CHAR_ATTR_LENGTH_ERROR * 2007 (07D7) (RC2007): MQRC_CHAR_ATTRS_ERROR * 2008 (07D8) (RC2008): MQRC_CHAR_ATTRS_TOO_SHORT * 2009 (07D9) (RC2009): MQRC_CONNECTION_BROKEN * 2010 (07DA) (RC2010): MQRC_DATA_LENGTH_ERROR * 2011 (07DB) (RC2011): MQRC_DYNAMIC_Q_NAME_ERROR * 2012 (07DC) (RC201

IBM WebSphere MQ – Common install/uninstall issues for MQ Version on Windows - Middleware News

Creating a log file when you install or uninstall WebSphere MQ WebSphere MQ for Windows is installed using the Microsoft Installer (MSI). If you install the MQ server or client through launchpad , MQPARMS or setup.exe , then a log file is automatically generated in %temp% during installation. Alternatively you can supply parameters on the installation MSI command msiexec to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). If you uninstall through the Windows Add/Remove programs option, no log file is generated. You should either uninstall from the MSI command line and supply parameters to generate a log file, or enable MSI logging system-wide (which generates MSI logs for all install and uninstall operations). For details on how to enable MSI logging, see the following article in the WebSphere MQ product documentation: Advanced installation using msiexec For details on how to enable system-w