|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  mqconn, mqput etc missing from client installation | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | tony_f | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 4:55 am    Post subject: mqconn, mqput etc missing from client installation | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 30 Sep 2011 Posts: 19
  
  | 
		  
		    
			  
				Hi
 
 
A customer who needs to connect to our iSeries and send MQ messages has installed MQ Client - apparently successfully - I ran DSPSFWRSC on their machine and I can see this :-
 
 
5725A49   *BASE   5050   WebSphere MQ MQI Client for IBM i          
 
5725A49   1           5050   WebSphere MQ MQI Client for IBM i -Samples 
 
 
but none of the MQ commands such as MQCONN, MQPUT, MQGET have been created. Should these programs be created as part of the standard installation?
 
 
Tony | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 5:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				mqconn, mqput, et.al, are API calls used by application programs.
 
 
Are you following the Quick Beginnings installation documentation? 
 
Are you following the verification documentation?
 
 
Exactly what errors do you see? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | tony_f | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 5:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 30 Sep 2011 Posts: 19
  
  | 
		  
		    
			  
				
   
	| bruce2359 wrote: | 
   
  
	mqconn, mqput, et.al, are API calls used by application programs.
 
 
Are you following the Quick Beginnings installation documentation? 
 
Are you following the verification documentation?
 
 
Exactly what errors do you see? | 
   
 
 
 
Hi Bruce
 
 
I believe that the installation instructions that were followed were on the readme.txt that comes with the download of the client. 
 
The problem is that the user is trying to write an application on the client machine to put messages on a queue and their RPG ILE program won't compile because the mqconn, mqput and mqclose api's are missing. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 5:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 5:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				"... won't compile ..." error comes with an official-looking errrr message, usually three letters, a few numbers, followed by a single letter - E for fatal error, W for warning, I for informational-only.  
 
 
What error message from the compile? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | tony_f | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 6:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Novice
 
 Joined: 30 Sep 2011 Posts: 19
  
  | 
		  
		    
			  
				They are creating a service program and they receive an error of CPD5D02
 
 
The prototype for the API's is in a separate source member  
 
 
   
	| Code: | 
   
  
	
 
0475.00   // Declare MQI named constants and prototypes          
 
0476.00  /include qmqm/qrpglesrc,cmqg                
 
 
 | 
   
 
 
 
and an example of the prototype for the external procedure call is here
 
   
	| Code: | 
   
  
	
 
0031.81      D******************************************************************                                    
 
0031.82      D* MQCONN Function -- Connect Queue Manager                      **                                    
 
0031.83      D******************************************************************                                    
 
0031.84                                                                                                             
 
0031.85      DMQCONN           PR                  EXTPROC('MQCONN')                                                
 
0031.86      D* Name of queue manager                                                                               
 
0031.87      D QMNAME                        48A                                                                    
 
0031.88      D* Connection handle                                                                                   
 
0031.89      D HCONN                         10I 0                                                                  
 
0031.90      D* Completion code                                                                                     
 
0031.91      D CMPCOD                        10I 0                                                                  
 
0031.92      D* Reason code qualifying CompCode                                                                     
 
0031.93      D REASON                        10I 0                                                                   | 
   
 
 | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Jul 29, 2013 6:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Did you google CPD5D02? _________________ I like deadlines. I like to wave as they pass by.
 
ב''ה
 
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |