ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » MQ Series and Object Rexx

Post new topic  Reply to topic
 MQ Series and Object Rexx « View previous topic :: View next topic » 
Author Message
millerca
PostPosted: Wed Nov 27, 2002 10:23 am    Post subject: MQ Series and Object Rexx Reply with quote

Novice

Joined: 04 Sep 2001
Posts: 12
Location: OCLC - Dublin, OH

How do I get a Object Rexx script to use the MQSERVER environment variable without a) using a bat file and b) setting it via the control panel? Our olded code using a bat file and the system variable setting won't work since our dev and QA systems both reside on the same machine. We are trying to get away from the bat files and I am working on a gui to do some of our admin options for MQ through. The only way the MQCONN works is when I start the script via a bat file that has the set command in it. I have tried doing the set from the rexx script but that didn't seem to work

Thanks,

Cat
Back to top
View user's profile Send private message Yahoo Messenger
RogerLacroix
PostPosted: Wed Nov 27, 2002 11:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Try this Rexx code:
Code:
env = "ENVIRONMENT"
newMQvalue = "CHAN1/TCP/192.168.4.56(1421)"
value("MQSERVER", newMQvalue, env)


later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
millerca
PostPosted: Fri Dec 06, 2002 7:33 am    Post subject: Reply with quote

Novice

Joined: 04 Sep 2001
Posts: 12
Location: OCLC - Dublin, OH

Unfortunately this did not work It seems like the MA77 support pak is not picking up the envirnoment variable even when it is set from the Rexx script. I tried to even look at the MA77 code to see what it was doing but I don't know C++ and its fairly foreign looking to me
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ Series and Object Rexx
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.