× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Frank,

Just a minor syntactical point:

call MQCONN(wQm:handle:code:reason); should be:

callp MQCONN(wQm:handle:code:reason);
or just:
MQCONN(wQm:handle:code:reason);

-mark


On 4/10/2020 3:46 PM, frank boke wrote:
Thanks for the bad news Charles. We're at V8.0.5 and no one here has ever
worked with mq but someone will have to make the changes. Our mq
environment with 20 qm's has been running since the 90's and using the call
qmqm that you showed. Not sure if there's any one out there who wants the
work to convert us.
Frank

On Fri, Apr 10, 2020 at 3:17 PM Charles Wilt<charles.wilt@xxxxxxxxx> wrote:

So what's happened is that IBM removed the old MQ *PGM objects...

To interact with MQ, you'll need to call a bound ILE procedure.

If you've got RPG III (or IV) prgrams using the old-style dynamic calls

C CALL QMQM
C PARM WHATEVER

Then you've got some work ahead...

If you're using prototyped calls
DMQCONN PR EXTPGM('MQCONN')
D* Name of queue manager
D QMNAME 48A
D* Connection handle
D HCONN 10I 0
D* Completion code
D CMPCOD 10I 0
D* Reason code qualifying CMPCOD
D REASON 10I 0

call MQCONN(wQm:handle:code:reason);

Then it might be as easy as changing EXTPGM('MQCONN') to EXTPROC('MQCONN')
note the above PR was actually for EXTPROC, no idea what the EXTPGM version
actually looks like, since IBM removed the copybooks with the at MQ v6.

Judging by the fact that EXTPROC of the PR doesn't take advantage of
procedure functionality, no CONST or VALUE and no returned values. I
suspect that the params are pretty close to the same between the PGM and
PROC versions.

Also to re-iterate, IBM removed the older copybooks (with EXTPGM PR's?) at
v6 of MQ. Assuming you are running a version newer than that and you've
compiled your program since, either you've got your own version of the
copybooks or you're already using the bound interface and would be fine
upgrading to MQ v9.

Charles





Depends on rather or not IBM changed they parameters...I can't



On Fri, Apr 10, 2020 at 8:48 AM frank boke<fboxxx1958@xxxxxxxxx> wrote:

Hi Folks, what needs to be done to get MQ ready for Version 9.0?



We’re at V8 and I saw in the linkdoc that we’re forced to change pgm’s
and
the person who was our “MQ” programmer is long gone.





https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.mq.pro.doc/q127140_.html#q127140___rpgcompat


Are these difficult changes to make?



Anyone out there have the expertise to make the changes quickly or
provide
details on how to make the changes quickly?



Help appreciated and thanks, Frank
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.