| Author | Message | 
		
		  | kme_1998 | 
			  
				|  Posted: Tue Jun 05, 2001 9:32 am    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 04 Jun 2001Posts: 14
 
 
 | 
			  
				| Looking for some good perl:mq samples to copy and learn from while developing my skill on MQSeries 5.2 on Linux? 
 I've drawn a complete blank elsewhere!
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | kolban | 
			  
				|  Posted: Tue Jun 05, 2001 2:36 pm    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 22 May 2001Posts: 1072
 Location: Fort Worth, TX, USA
 
 | 
			  
				| Although I haven't personally used the MQ/Perl SupportPac myself, I believe that the package comes with a whole set of Perl programs that use the MQ API to access the queues.  I am thinking that you could review these and make a start from them? 
 Neil
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Wed Jun 06, 2001 9:25 am    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 1554
 Location: Silicon Valley
 
 | 
			  
				| I have quite a few perl programs written for MQ that have been specifically tested on Linux machines. I can post a few to the site, but I would just like to get a better idea of what type of code you are interested in. Do you want real basic stuff like how to do puts and gets? Do you want code using the regular Perl API or the OO API? 
 
 _________________
 Brandon Duncan
 IBM Certified MQSeries Specialist
 MQSeries.net forum moderator
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Cliff | 
			  
				|  Posted: Thu Jun 28, 2001 4:39 am    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 27 Jun 2001Posts: 145
 Location: Wiltshire
 
 | 
			  
				| Gents, I downloaded the Perl support and started to look at it, but not being an OO man and not being desperately strong at Perl either, I kind of gave up on it.  If ther's a Perl interface for us procedural guys, then some sample code would be very welcome!
 
 Regards,
 
 Cliff
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bduncan | 
			  
				|  Posted: Fri Jun 29, 2001 9:15 am    Post subject: |   |  | 
		
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 1554
 Location: Silicon Valley
 
 | 
			  
				| Cliff, The MQSeries CPAN package includes both a procedural and oo API. The procedural version isn't documented much, but if you say use MQSeries; at the top of your perl script, you should be able to issue commands like MQCONN, MQPUT, etc. The parameters for these functions are typically scalars or hashes. It seems like there is strong demand for perl sample code, so I'll try to post some of mine here, all of which uses the procedural interface btw...
 
 
 _________________
 Brandon Duncan
 IBM Certified MQSeries Specialist
 MQSeries.net forum moderator
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | kme_1998 | 
			  
				|  Posted: Sat Jul 07, 2001 4:51 am    Post subject: |   |  | 
		
		  | Novice
 
 
 Joined: 04 Jun 2001Posts: 14
 
 
 | 
			  
				| Yes some simple examples for those of us that come from other programming traditions would help and be appreciated. 
 Didn't mean to wait so long to reply, our web filter vendor catagorized you as a sex site over the last week and it took some time to resolve.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | pappus | 
			  
				|  Posted: Wed Aug 22, 2001 7:34 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 21 Aug 2001Posts: 5
 
 
 | 
			  
				| Hi..I am looking for perl sample code to connect to MQ using MQCONNX call. Thanks.. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | royr | 
			  
				|  Posted: Wed Aug 22, 2001 7:59 am    Post subject: |   |  | 
		
		  |  Acolyte
 
 
 Joined: 30 Jun 2001Posts: 65
 Location: Israel
 
 | 
			  
				| off topic 
 bduncan, how about putting this site on the sex category to fill up the memberlist?
 I think we can even beat the listserv this way...
   
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |