Skip to main content

Posts

How does the MQ parameter of expiry work ? - Middleware News

How does the MQ parameter of expiry work ? - Middleware News Symptom Your messages are expiring from the MQ queue before your MQ applications have accessed them. Fix Following is a section from the IBM WMQ API reference on message expiry. To summarize, messages that expire continue to contribute to a queue's depth (message count) until they are browsed, an attempt is made to transport them to another queue is made, or an MQGET command is executed against them. When some action is taken against the expired message sitting on the queue, it is discarded at that point. The only version of WMQ 5.3 that has the option of automatically removing expired messages from a queue (without having to browse, get, etc.) is the z/OS version. Expiry (MQLONG) Message lifetime. This is a period of time expressed in tenths of a second, set by the application that puts the message. The message becomes eligible to be discarded if it has not been removed from the destination ...

Resolving problems with MQSC commands - Middleware News

Resolving problems with MQSC commands - Middleware News If you cannot get MQSC commands to run, use the following information to see if any of these common problems apply to you. It is not always obvious what the problem is when you read the error generated. When you use the runmqsc command, remember the following: Use the < operator to redirect input from a file. If you omit this operator, the queue manager interprets the file name as a queue manager name, and issues the following error message: AMQ8118: WebSphere MQ queue manager does not exist. If you redirect output to a file, use the > redirection operator. By default, the file is put in the current working directory at the time runmqsc is invoked. Specify a fully-qualified file name to send your output to a specific file and directory. Check that you have created the queue manager that is going to run the commands. To do this on Windows systems, use the WebSphere MQ Explorer to display a list of queue manager...

Running MQSC commands from text files - Middleware News

Running MQSC commands from text files - Middleware News Running MQSC commands interactively is suitable for quick tests, but if you have very long commands, or are using a particular sequence of commands repeatedly, consider redirecting stdin from a text file. (See Standard input and output for information about stdin and stdout.) To do this, first create a text file containing the MQSC commands using your usual text editor. When you use the runmqsc command, use the redirection operators. For example, the following command runs a sequence of commands contained in the text file myprog.in: runmqsc < myprog.in Similarly, you can also redirect the output to a file. A file containing the MQSC commands for input is called an MQSC command file. The output file containing replies from the queue manager is called the output file. To redirect both stdin and stdout on the runmqsc command, use this form of the command: runmqsc < myprog.in > myprog.out This command invokes th...

Running MQSC commands from batch files - Middleware News

Running MQSC commands from batch files - Middleware News If you have very long commands, or are using a particular sequence of commands repeatedly, consider redirecting stdin from a batch file. To do this, first create a batch file containing the MQSC commands using your usual text editor. When you use the runmqsc command, use the redirection operators. The following example: Creates a test queue manager, TESTQM Creates a matching CLNTCONN and listener set to use TCP/IP port 1600 Creates a test queue, TESTQ Puts a message on the queue, using the amqsputc sample program Example script for running MQSC commands from a batch file export MYTEMPQM=TESTQM export MYPORT=1600 export MQCHLLIB=/var/mqm/qmgrs/$MQTEMPQM/@ipcc crtmqm $MYTEMPQM strmqm $MYTEMPQM runmqlsr -m $MYTEMPQM -t TCP -p $MYPORT & runmqsc $MYTEMPQM << EOF DEFINE CHANNEL(NTLM) CHLTYPE(SVRCONN) TRPTYPE(TCP) SCYEXIT('amqrspin(SCY_NTLM)') DEFINE CHANNEL(NTLM) CHLTYPE(CLNTCONN) QMNAME('$M...

IBM WebSphere MQ Q PROGRAM - Middleware News

IBM WebSphere MQ Q PROGRAM - Middleware News Q is simple pipe line program which takes messages from one source and outputs to a target. The operation of the 'pipe' is controlled by switches to the program. The source and target can either be the console or a WebSphere MQ Queue. Since input/output can be taken from stdin/stdout these can also be files. Two instances of Q can therefore be used to implement a primitive file transfer program. On most platforms a single program, Q, is supplied, which can connect either as a local application or as a client. The mode of operation is controlled via the '-l' parameter given below. On other platforms, such as z/OS, only a single program, Q, is supplied which runs only as a local application. USAGE _____ If the Q program is executed without any parameters or with an invalid parameter it displays a brief description of each valid parameter. The parameters, alphabetically, are as follows: -a Sets m...

Websphere MQ / MQSERIES PROCESSES BY PLATFORM - Middleware News

Websphere MQ / MQSERIES PROCESSES BY PLATFORM - Middleware News PLATFORM =AIX ProcName Process Function amqhasmx logger amqharmx log formatter,used only if the queue manager has linear logging selected amqzllp0 checkpoint processor amqzlaa0 queue manager agent(s) amqzxma0 processing controller runmqsc MQ Command interface amqpcsea PCF command processor amqcrsta Any remotely started channel over TCP/IP - Could be RECEIVER,REQUESTER,CLUSRCVR,SVRCONN,SENDER,SERVER amqcrs6a Any remotely started channel over LU62/SNA - Could be RECEIVER,REQUESTER,CLUSRCVR,SVRCONN,SENDER,SERVER runmqchl Any locally started channel over any protocol - Could be SENDER,SERVER,CLUSSDR,REQUESTER runmqlsr listener process runmqchi channel initiator PLATFORM = AS/400 ProcName Process Function AMQHIXK4 Storage Manager (Housekeeper) AMQMCPRA Data Store (Object Cache) AMQCLMAA Listener AMQALMP4 ...

Veritas Cluster - Commands - Middleware News

Veritas Cluster - Commands - Middleware News VRTSvcs VERITAS Cluster Server VRTSvcswz VERITAS Cluster Server Wizard VRTScsga VERITAS Cluster Server Graphical Administrator VRTSgab VERITAS Group Membership and Atomic Broadcast VRTSllt VERITAS Low Latency Transport VRTSvcsor VERITAS Cluster Server Oracle Enterprise Extension VRTSvcssy VERITAS Cluster Server Sybase Enterprise Extension VRTSperl VERITAS Perl for VRTSvcs Cluster Name of your HA environment Nodes Physical systems that make up the cluster Service group Abstract container of related resources Resource Cluster components (i.e. NICs, IPs, disk groups, volumes, mounts, processes, etc...) Attributes Parameter values that define the resources Dependencies Links between resources or service groups Cluster Mgr Cluster Monitor : Log in, add clusters, change preferences Cluster Mgr Cluster Explorer: Monitor systems, service grps...

adsrerrapop