Author |
Message
|
ghoshly |
Posted: Wed Jul 20, 2011 9:28 am Post subject: contact admin rfhutilc.exe |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Hi,
I was trying to run rfhutilc.exe as a different user/domain by using contact admin.
Quote: |
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/axxxx01.onexxxxxx.com(1414)
contact admin /user:ghoshtx@oneabbott rfhutilc.exe |
This asks for the password and opens the rfhutilc but does not shows the mqserver variable in the Queue Manager name section, though If I use
Quote: |
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/axxxx01.onexxxxxx.com(1414)
start rfhutilc.exe |
I get the mentioned values in the drop down, but I can't use the required user. I am failing to understand the reason of this difference. Could you please help me to rectify the first option.
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 20, 2011 9:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It looks a lot like the contact admin command is starting a new environment based on the new user (along the lines of su or su - on Unix).
You might get value posting this in a Windows forum if that's correct as it's what contact admin is doing rather than what rfhutilc is doing. Which is not to say someone in here hasn't encountered this problem, I'm just suggesting you cover the bases.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jul 20, 2011 10:11 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
Yep, contact admin launches a new shell.
Do it this way:
contact admin /user:ghoshtx@oneabbott
provide password
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/axxxx01.onexxxxxx.com(1414)
rfhutilc.exe _________________ 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 |
|
 |
ghoshly |
Posted: Wed Jul 20, 2011 11:04 am Post subject: contact admin syntax demands the program to execute |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Hi,
I have tried that earlier, as shown below.
Quote: |
contact admin /user:abcdefgh@oneabbott
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/axxxx01.onexxxxxx.com(1414)
rfhutilc.exe |
but, contact admin command syntax demands the program name, hence its not taking the user info and running in the user I am logged into, so its using the latest mqserver variable info.
I hope I am able to make you understand. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jul 20, 2011 1:10 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
OK, so contact admin requires you to name a program, but not necessarily the program you eventually want to execute. So, try this:
contact admin /user:abcdefgh@oneabbott cmd
provide password
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/axxxx01.onexxxxxx.com(1414)
rfhutilc.exe
cmd will launch a c: prompt _________________ 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 |
|
 |
ghoshly |
Posted: Wed Jul 20, 2011 2:48 pm Post subject: thanks for reply |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Hi.. Thanks.... We hit it.. I should have thought for this.. thanks for helping.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 20, 2011 8:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Of course you could also have entered the value of the MQSERVER variable into the qmgr field of RFHUtilc.exe ... _________________ MQ & Broker admin |
|
Back to top |
|
 |
|