| Author | 
		  Message
		 | 
		
		  | rubyyu | 
		  
		    
			  
				 Posted: Thu Feb 14, 2002 6:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 13 Feb 2002 Posts: 4
  
  | 
		  
		    
			  
				Hi, there:
 
 
Does anyone have any experiences on MQSeries applications development using 
 
ACU-COBOL?  Is ACU_COBOL supported?  I have done comiling but got problems in linking MQ library.  Anyone knows how to link?
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rubyyu | 
		  
		    
			  
				 Posted: Tue Mar 12, 2002 11:00 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 13 Feb 2002 Posts: 4
  
  | 
		  
		    
			  
				Hi, there:
 
 
Fortunately, I have solved out the problem.  Now, we have finished the development of ACUCOBOL MQ API sample program via C subroutine.  Anyone uses ACU-COBOL now can use MQ as heterogeneous messaging middleware. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 10:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
			  
				rubyy 
 
can you please send me the c definitions of the acucobol mqapi calls? _________________ Maximiliano R. A. Santos
 
IBM Websphere MQ V6.0 Certified System Administrator
 
IBM Websphere MQ V5.3 Certified Solution Developer | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 10:42 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Actually, I've done this directly from Acu.
 
 
You need to do some minor modifications, and you need to be at the right version of Acu - I think version 5 or so.
 
 
I've got notes somewhere... but not with me.  I'll see what I can dig up and what I can release. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
			  
				so... i´m getting a weird  reason code on mqopen...
 
-66650112
 
 
do you have any idea what is it
 
? _________________ Maximiliano R. A. Santos
 
IBM Websphere MQ V6.0 Certified System Administrator
 
IBM Websphere MQ V5.3 Certified Solution Developer | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				I'm guessing you're linking wrong or something.
 
 
I do have notes on how to do this without using C or anything else, just straight from Acu.  I don't have them handy though, nor am I quite clear exactly how much of it I can just release, as they were produced for a client and etc. etc...
 
 
Are you working on Windows, or Unix? _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
			  
				Linux
 
 
sounds really weird to me... the worst is... two days ago it worked
 
without using the by reference, by value... parameters..
 
today it´s not working any way _________________ Maximiliano R. A. Santos
 
IBM Websphere MQ V6.0 Certified System Administrator
 
IBM Websphere MQ V5.3 Certified Solution Developer | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
 
I didn't write it, if that's what you mean.
 
 
And I've never seen it before either.  I'm talking about notes I made for a client, while trying to get this work.  I did it on Windows, so I might get some translation wrong when I try to convert to Linux.
 
 
It may not be until Monday before I get back to you, and even then in the evening.
 
 
The by reference/by value is an important thing, though.   That and loading the shared library properly, using call. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
			  
				i solved my problem...
 
when we were computing the Open-options,
 
we were using this sintax ADD MQOO-OUTPUT ... OPEN-OPTS
 
but there´s a problem ..if there is something.. dirty at that memory address... the operation was supposed to add the mqoo-output to that value, so we changed it to COMPUTE OPEN-OPTS = MQOO-OUTPUT
 
and now it works
 
   
 
 
Thanx a lot everybody! _________________ Maximiliano R. A. Santos
 
IBM Websphere MQ V6.0 Certified System Administrator
 
IBM Websphere MQ V5.3 Certified Solution Developer | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | msantos007 | 
		  
		    
			  
				 Posted: Fri Sep 23, 2005 11:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 Dec 2004 Posts: 78
  
  | 
		  
		    
			  
				but i would like to get what you´re translationg to linux AND the windows part if you could please send it to me
 
msantos@intvision.com.br
 
 
Thanks a lot man ! _________________ Maximiliano R. A. Santos
 
IBM Websphere MQ V6.0 Certified System Administrator
 
IBM Websphere MQ V5.3 Certified Solution Developer | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |