|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| how does mqclient specify -stashed flag to access kdb? | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | pcelari | 
			  
				|  Posted: Tue Jun 29, 2021 8:18 am    Post subject: how does mqclient specify -stashed flag to access kdb? |   |  |  
		  | Chevalier
 
 
 Joined: 31 Mar 2006Posts: 411
 Location: New York
 
 | 
			  
				| Greetings ..., 
 I know one can use the -stashed flag when using runmqckm to access kdb. But I wonder how does a mqclient application access the kdb in the same manner?
 
 There seems to be no environment variable for such a flag. This is a gap in my otherwise OK understanding of SSL in MQ.
 
 Would an expert please fill me in on this? it must be a trivial matter I believe, but which I've been unable to turn my brain around.
 
 thanks a lot!
 _________________
 pcelari
 -----------------------------------------
 - a master of always being a newbie
 |  |  
		  | Back to top |  |  
		  |  |  
		  | gbaddeley | 
			  
				|  Posted: Tue Jun 29, 2021 4:32 pm    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 25 Mar 2003Posts: 2538
 Location: Melbourne, Australia
 
 | 
			  
				| MQ Clients and MQ Queue Managers get the kdb password from the stash file. Such elegance and beauty. _________________
 Glenn
 |  |  
		  | Back to top |  |  
		  |  |  
		  | hughson | 
			  
				|  Posted: Wed Jun 30, 2021 3:01 am    Post subject: Re: how does mqclient specify -stashed flag to access kdb? |   |  |  
		  |  Padawan
 
 
 Joined: 09 May 2013Posts: 1967
 Location: Bay of Plenty, New Zealand
 
 | 
			  
				| 
   
	| pcelari wrote: |  
	| I know one can use the -stashed flag when using runmqckm to access kdb. But I wonder how does a mqclient application access the kdb in the same manner? |  MQ Client can only work with a stash file, so you can imagine it is like the -stashed flag always being use. Of course the MQ Client does not use the runmqckm command to access the kdb, but instead uses a programmable interface, but the theory is still the same.
 
 There is no configuration control on this because there is no choice in the matter. The MQ Client must ALWAYS have a stash file in order to use the kdb.
 
 Use of -stashed or the programmable interface both look in the stash file to discover the password to use.
 
 Cheers,
 Morag
 _________________
 Morag Hughson @MoragHughson
 IBM MQ Technical Education Specialist
 Get your IBM MQ training here!
 MQGem Software
 |  |  
		  | Back to top |  |  
		  |  |  
		  | bruce2359 | 
			  
				|  Posted: Wed Jun 30, 2021 7:57 am    Post subject: Re: how does mqclient specify -stashed flag to access kdb? |   |  |  
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| 
   
	| pcelari wrote: |  
	| But I wonder how does a mqclient application access the kdb in the same manner? |  Please clarify.  Are you asking how a user application interrogates the kdb or stash?
 
 User apps don't do either.  As Morag noted above, the MQ Client code does this for your apps.
 _________________
 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
 
 |  |  |  |