Home » IBM MQ Info Center » Sample IBM MQ Jython, Perl & Python Code

IBM MQ Code Index
Assembler (z/OS) Code Samples C Code Samples
C Exit Code Samples C++ Code Samples
C# Code Samples COBOL Code Samples
Java Code Samples Java/JMS Code Samples
Jython Code Samples Perl Code Samples
PLI Code Samples Python Code Samples
Rexx Code Samples Visual Basic Code Samples

IBM MQ Jython Code Samples

File Size Date Description
download file 0.1 2006/07 Jython_Receiver is a Jython program to get message from a queue. Source code included. Freeware. Author: Roger Lacroix.
download file 0.1 2006/07 Jython_Sender is a Jython program to put message to a queue. Source code included. Freeware. Author: Roger Lacroix.

IBM MQ Perl Code Samples

File Size Date Description
download file 0.15 2002/10 AdminMove moves messages from one queue and to another queue without destroying the context info. The attached script shows how to do this using the Perl MQ API. Source code included. Freeware. Author: T. Robert Wyatt.
download file 0.15 2002/10 Check_Kernal_Parameters is a perl script to check Solaris MQ kernal parameters. Source code included. Freeware. Author: T. Robert Wyatt.
download file 1.0 2005/07 Check_Queue is a stand-alone Perl script to report against queue objects. Source code included. Freeware. Author: Andrew Robert.
download file 1.0 2005/06 Dump_Messages is a stand-alone Perl script to extract messages to a file. Source code included. Freeware. Author: Andrew Robert.
download file 0.15 2001/10 GetPut is a perl utility for providing a "hopping" point for messages. In other words, if you want to move a message from Queue Manager A to Queue Manager C, but you can only move it there via intermediate Queue Manager B, then you can use this program to automatically forward messages to the ultimate destination. Source code included. Freeware. Author: Brandon Duncan.
download file 0.15 2001/10 InquireQueue is a simple perl script that connects to a queue manager and then issues an MQINQ command on a queue to get the current depth of the queue. Source code included. Freeware. Author: Brandon Duncan.
download file 0.15 2001/10 MakeQueue is a simple perl script that demonstrates how to create a queue via runmqsc. Source code included. Freeware. Author: Brandon Duncan.
download file 0.15 2005/05 MQService is a simple perl script to bring down MQ and the WBI Broker in a Windows box under MSCS. Source code included. Freeware. Author: Robert Broderick.
download file 1.0 2005/06 Push_Messages is a stand-alone Perl script to restore messages from a file to a queue. Source code included. Freeware. Author: Andrew Robert.
download file 0.15 2000/10 ThroughPut is a perl script that computes MQSeries channel throughput statistics at fixed time intervals. It prints averages for the send rate, receive rate, message rate, and message size during the interval. Source code included. Freeware. Author: JB.

IBM MQ Python Code Samples

File Size Date Description
download file 1.0 2005/04 Inquiry is a generic Python method to extract information from a queue manager. Source code included. Freeware. Author: Andrew Robert.
download file 1.0 2005/04 MQ_GetMsg is a generic Python method to get message from a queue. Source code included. Freeware. Author: Andrew Robert.
download file 1.0 2005/04 MQ_PutMsg is a generic Python method to put message to a queue. Source code included. Freeware. Author: Andrew Robert.

 

 

Warning: Please backup all data before using of any or all of the programs found on this web site. Capitalware, or the original authors of any of these programs will be NOT be held responsible for any damage to data or programs.