Author |
Message
|
sebastia |
Posted: Thu Nov 30, 2006 3:13 am Post subject: access to MQ v 6.0 from REXX |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Can someone tell me why there is no way to access MQ version 6 using Rexx ?
Sebastian. |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 30, 2006 3:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Have you tried using the (discontinued) support pac MA18? |
|
Back to top |
|
 |
sebastia |
Posted: Thu Nov 30, 2006 3:42 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 30, 2006 3:56 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
What version of REXX exactly are you using and which OS version? |
|
Back to top |
|
 |
sebastia |
Posted: Thu Nov 30, 2006 4:06 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
I had MA31 (for OS/2) and MA77 (for w/NT) ...
... but MQ v 6.0 seems ... deaf ?
+++
c:\>rexx -v
IBM Object REXX Interpreter Version 2.1.3
Build date: Mar 31 2004
Copyright (c) IBM Corporation 1996, 2004. All Rights Reserved.
c:\>
+++ |
|
Back to top |
|
 |
RogerLacroix |
Posted: Sat Dec 02, 2006 11:00 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
sebastia wrote: |
I had MA31 (for OS/2) and MA77 (for w/NT) ...
... but MQ v 6.0 seems ... deaf ?
+++
c:\>rexx -v
IBM Object REXX Interpreter Version 2.1.3
Build date: Mar 31 2004
Copyright (c) IBM Corporation 1996, 2004. All Rights Reserved.
c:\>
+++ |
Ok, what MQ or Rexx error are you getting? When you run ma77rxt.rexx - what error do you get?
i.e.
rexx ma77rxt.rexx
I just ran it on WinXP SP2 against WMQ v6.0.1.0 and it worked fine. (I changed the QMgrName from 'RAHN' to 'MQA1' and the queue name from 'N1' to 'TEST1'.)
I'm using OORexx (IBM open sourced the Rexx version you are using)
Code: |
C:\>rexx -v
Open Object Rexx Interpreter Version 3.0.0
Build date: Mar 28 2005
Copyright (c) IBM Corporation 1995, 2004.
Copyright (c) RexxLA 2005.
All Rights Reserved. |
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
sebastia |
Posted: Mon Dec 04, 2006 3:00 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Roger : i can not test it today but I promise an answer before friday ...
The truth is that i did not test it,
because I read somewhere it was not supported !
Sebastian, glad there's a chance I can access MQ from Rexx !!! |
|
Back to top |
|
 |
sebastia |
Posted: Tue Dec 12, 2006 3:51 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi, Roger ! It works !! Thank you so much !!!
( )
************************************
rc= 0 0 0 RXMQNINIT OK Written by Robert Harris. Version 3.0 Copyright IBM UK Labs Ltd., 1997.
MQ Conn() RC= 0 0 0 RXMQNCONN QMANAGER.AS400 OK (thread 2860)
Entering make_od_from_stem
************************************
c:\temp\MA77\MA77>rexx -v
IBM Object REXX Interpreter Version 2.1.3
Build date: Mar 31 2004
Copyright (c) IBM Corporation 1996, 2004. All Rights Reserved.
************************************
c:\temp\MA77\MA77>dspmqver
Name: WebSphere MQ
Version: 6.0.1.1
CMVC level: p600-101-060504
BuildType: IKAP - (Production)
************************************ |
|
Back to top |
|
 |
|