Re: JMS Client Userid & Password problem - More details

2003-05-29 Thread Fustich, David A (Prism)
Karthik,
I seem to remember reading in the Intercommunications manual that if
you wish to secure a SVRCONN channel without using an exit, simply set the
MCAUSER to a userid that has absolutely no MQM permissions what-so-ever.  If
the client connection supplies an MCAUSER it will override the one defined
for the channel and security will utilize that supplied user id's
permissions to determine access.  If no MCAUSER is supplied, then the
default will be utilized and the message will be rejected since the default
has no MQM permissions...

David

-Original Message-
From: P Karthikeyan [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 5:55 AM
To: [EMAIL PROTECTED]
Subject: JMS Client Userid & Password problem - More details


Hi all,

Iam rephrasing the question that i posted today with more details for a
better
understanding of the problem.

We face a problem in connecting to Windows MQ Server 5.3  from a JMS MQ
Client(windows).The JMS client uses Connection factory and passes  userid &
password to
the MQ server. The userid is defined in the MQServer and is a part of MQM
group. We are
using the default SYSTEM.DEF.SVRCONN & the MCAUSER parameter is kept blank.

When a correct userid/password is specified in JMS , the message goes to the
proper & not
if an inavlid userid/password is specified. I thnik it is due to the SVRCONN
MCA  gets
connected to the QM for proper userid/password & the SVRCONN MCA does not
get
connected(beacuse it does not have permission to connect)

The problem arises when no userid/password is specified in the JMS
connection factory. In
this case, the message is
not rejected & it is passed. I believe that the Server Connection Channel
MCA runs under
the userid  MUSR_MQADMIN as default since no MCAUSER is specified in SVRCONN
definition &
hence allows messages to be sent to the respective queue. No Channel
Security exists have
been deployed.

We need to prevent this from happening. One way could be to have a security
exit
validating  incoming userid. But the team is not for a security exit
currently.

Is there any way by which we can restrict the access at MQ level?

My doubts are :

1. I belive that when the MCAUSER parameter in the SRVRCONN definition is
kept blank, the
SVRCONN MCA runs under the default userid(which i believe is MUSR_MQADMIN).
I have read in
the manuals that for SRVRCONN in OS/390 only, the incoming network userid is
validated &
used as MCA useridentifier whereas this happens in windows also.

2. If the facility is available, then when the userid/password is not
specified, why does
not the request get rejected.

Looking forward hearing from you.

Thanks in advance ,

Regards,
Karthik




***The information contained in this message is legally privileged and
confidential
information intended only for the use of the addressed individual or entity
indicated in
this message (or responsible for delivery of the message to such person). It
must not be
read, copied, disclosed, distributed or used by any person other than the
addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be
unlawful.
 Opinions, conclusions and other information on this message that do not
relate to the
official business of any of the constituent companies of the TATA
CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have
received this
message in error, you should destroy this message and kindly notify the
sender by e-mail.
Thank you.***

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: AMQ9209 Connection to host '&3' closed.

2003-05-29 Thread Robert Broderick
Morag,
I have seen messages simular to this many times over the past two years. You
have to do a little deductive reasoning to find out what the message is
pointing to but I believe the version was, at least 5.2.
Now your going to ask did I open a PMR. No, who has time. It wasn't a show
stopper at the time.
bobbee


From: Morag Hughson <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: AMQ9209 Connection to host '&3' closed.
Date: Wed, 28 May 2003 22:46:40 +0100
This is most unusual - I have never seen inserts show up like this before
(i.e. no inserts). Are you seeing this in your AMQERR01.LOG file or did you
use mqrc or some other tool to look at the message catalogue? If this is
from AMQERR01.LOG can you tell us what version of the product and which
platform you are using. Also which AMQERR01.LOG do you see this in.
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]
  Hi,

   I'm facing the following error, what causes this error to occur ... ??

AMQ9209 Connection to host '&3' closed.

Explanation: An error occurred receiving data from '&3' over &4. The
connection to the remote host has unexpectedly terminated.
User Response: Tell the systems administrator.
Thanks,
Roshini
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


JMS Client Userid & Password problem - More details

2003-05-29 Thread P Karthikeyan
Hi all,

Iam rephrasing the question that i posted today with more details for a better
understanding of the problem.

We face a problem in connecting to Windows MQ Server 5.3  from a JMS MQ
Client(windows).The JMS client uses Connection factory and passes  userid & password to
the MQ server. The userid is defined in the MQServer and is a part of MQM group. We are
using the default SYSTEM.DEF.SVRCONN & the MCAUSER parameter is kept blank.

When a correct userid/password is specified in JMS , the message goes to the proper & 
not
if an inavlid userid/password is specified. I thnik it is due to the SVRCONN MCA  gets
connected to the QM for proper userid/password & the SVRCONN MCA does not get
connected(beacuse it does not have permission to connect)

The problem arises when no userid/password is specified in the JMS connection factory. 
In
this case, the message is
not rejected & it is passed. I believe that the Server Connection Channel MCA runs 
under
the userid  MUSR_MQADMIN as default since no MCAUSER is specified in SVRCONN 
definition &
hence allows messages to be sent to the respective queue. No Channel Security exists 
have
been deployed.

We need to prevent this from happening. One way could be to have a security exit
validating  incoming userid. But the team is not for a security exit currently.

Is there any way by which we can restrict the access at MQ level?

My doubts are :

1. I belive that when the MCAUSER parameter in the SRVRCONN definition is kept blank, 
the
SVRCONN MCA runs under the default userid(which i believe is MUSR_MQADMIN). I have 
read in
the manuals that for SRVRCONN in OS/390 only, the incoming network userid is validated 
&
used as MCA useridentifier whereas this happens in windows also.

2. If the facility is available, then when the userid/password is not specified, why 
does
not the request get rejected.

Looking forward hearing from you.

Thanks in advance ,

Regards,
Karthik




***The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated 
in
this message (or responsible for delivery of the message to such person). It must not 
be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received 
this
message in error, you should destroy this message and kindly notify the sender by 
e-mail.
Thank you.***

This message was scanned by Interscan Viruswall,TCS CHENNAI.



Re: 2 different broker databases

2003-05-29 Thread Paul Meekin
Thanks for the responses - I can confirm that it *does* indeed work.
Unfortunately the Oracle install coincided exactly with a DB2 problem.

Now how often does *that* happen

Cheers,
Paul



Paul,

> Is it possible to run 2 brokers (on AIX in this case) at the same time with
one
> broker using DB2 and the other using Oracle for its permanent store database?
> I'm on WMQI 2.1 if that matters.

Yes, it is. When we migrated our brokers from DB2 to Oracle, we was
using two parallel brokers in test phase.

HTH,

Tibor







This e-mail is from Energis Communications Ltd, 185 Park Street, London, SE1 9DY,
United Kingdom, No: 2630471.

This e-mail is confidential to the addressee and may be privileged. The views
expressed are personal and do not necessarily reflect those of Energis. If you are not
the intended recipient please notify the sender immediately by calling our switchboard 
on
+44 (0) 20 7206  and do not disclose to another person or use, copy or forward
all or any of it in any form.



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: .NET Question.

2003-05-29 Thread Roger Lacroix


Hi,
There has been a lot of talk at
www.mqseries.net
about MA7P and the WMQ version.  You can do a search at mqseries.net but I believe it comes down to MA7P only works with WMQ v5.3.
later
Roger...
At 09:23 PM 5/28/2003, you wrote:
Has anyone done any/much testing with the MA7P [WebSphere MQ classes for Microsoft .NET] SupportPac? 
I have been trying to connect to my qmgr using the version of MQQueueManager that takes both a channel name and connection name (as in MQCONNX), but to no avail. I keep getting an MQException thrown: 2277 (MQRC_CD_ERROR). To make sure I was using the right values, I used the C sample prog: amqscnxc and I successfully connect.

Is the original author out there? 
I tried another MQSeries .NET implementation (from Neil Kolban, http://www.kolban.com/mq/DotNET/), but the MQCONNX-type functionality isn't there either.

Any help appreciated. 
Regards, 
Antony Boggis. 



.NET Question.

2003-05-29 Thread Antony Boggis
Title: .NET Question.






Has anyone done any/much testing with the MA7P [WebSphere MQ classes for Microsoft .NET] SupportPac?


I have been trying to connect to my qmgr using the version of MQQueueManager that takes both a channel name and connection name (as in MQCONNX), but to no avail. I keep getting an MQException thrown: 2277 (MQRC_CD_ERROR). To make sure I was using the right values, I used the C sample prog: amqscnxc and I successfully connect.

Is the original author out there?


I tried another MQSeries .NET implementation (from Neil Kolban, http://www.kolban.com/mq/DotNET/), but the MQCONNX-type functionality isn't there either.

Any help appreciated.


Regards,


Antony Boggis.





Re: opening multiple connections from C program on solaris

2003-05-29 Thread Tim Armstrong
Try using MQCONNX and link your program with the client libraries. Example
MQCONNX related code follows.

MQCNO   connectOpts = {MQCNO_DEFAULT};
MQCDclientDef   = {MQCD_CLIENT_CONN_DEFAULT};

strncpy(clientDef.ConnectionName, connNameStr, MQ_CONN_NAME_LENGTH);
strncpy(clientDef.ChannelName, channelNameStr, MQ_CHANNEL_NAME_LENGTH);

connectOpts.ClientConnPtr = &clientDef;
connectOpts.Version = MQCNO_VERSION_2;

MQCONNX(qMgrNameStr,&connectOpts,&hConn,&compCode,&reasonCode);

Good luck.
Tim A



  "Lakshmi, Saraswathi"
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  SCLEAR.COM>   cc:
  Sent by: MQSeries ListSubject:  opening multiple 
connections from C program on solaris
  <[EMAIL PROTECTED]
  AT>


  28/05/2003 18:15
  Please respond to
  MQSeries List





Hi,

Is it possible to set-up multiple MQ connections from a program in Solaris
env. I tired to set-up multiple connections, but the connection handle is
the same for all of them. Is it possible to get unique connection-handles
for each connection.

The reason for this requirement is that the program has to handle multiple
queues, and the application has to issue MQCMIT based on the data received
in the queues. The program is designed for a real-time asynchronous
communication. The application is up-running all the time  and keeps
polling it other interfaces to check if data has arrived. Based n the data
received from other interfaces, it has to PUT the message into an MQ Queue
and commit it. It is also a single -threaded application.


mfg
lakshmi










The content of this e-mail is intended only for the confidential use of the
person addressed. If you have received this message in error, please notify
us immediately by electronic mail, by telephone or by fax at the above num-
bers.

E-mail communications are not secure and therefore we do not accept any
res-
ponsibility for the confidentiality or altered contents of this message.

Please be aware that SIS Group and its subsidiary companies cannot accept
any orders or other legally binding correspondence with a participant as
part of an E-mail. The views expressed above are not necessarily those held
by SIS Group and its subsidiary companies and not binding for them.
exfe


Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Missing file...

2003-05-29 Thread Antony Boggis
Title: Missing file...






I am tinkering with some .NET code and was looking at SupportPac MA7P. However, while testing out some other stuff, I uninstalled the package. Now I can't seem to re-install it. If I can get a copy of the actuall assembly file: amqmdnet.dll, then I can manually "register" it.

Can anyone help?


tonyB.





Re: AMQ9209 Connection to host '&3' closed.

2003-05-29 Thread Manickam, Roshini
Morag,

 Yeap i'm looking at the AMQERR01.LOG the platform is Windows NT . The '&3' is 
replaced by the host name . 
Thanks,
Roshini

-Original Message-
From: Morag Hughson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 4:47 PM
To: [EMAIL PROTECTED]
Subject: Re: AMQ9209 Connection to host '&3' closed.


This is most unusual - I have never seen inserts show up like this before
(i.e. no inserts). Are you seeing this in your AMQERR01.LOG file or did you
use mqrc or some other tool to look at the message catalogue? If this is
from AMQERR01.LOG can you tell us what version of the product and which
platform you are using. Also which AMQERR01.LOG do you see this in.

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]

  Hi,

   I'm facing the following error, what causes this error to occur ... ??


AMQ9209 Connection to host '&3' closed.

Explanation: An error occurred receiving data from '&3' over &4. The
connection to the remote host has unexpectedly terminated.
User Response: Tell the systems administrator.

Thanks,
Roshini

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: ENDMQM.exe at system shutdown

2003-05-29 Thread Brian S. Crabtree
Teresa

The error is
WinNT error 2226 from NetLocalGroupGetInfo
error 2226 is "the specified NT Server is not the Primary Domain Controller
and the action failed."So your domain environment must have changed since
you installed MQ and the NT server that MQ is querying is no longer validI
don't know how you would get around this other than by reinstalling MQBrian
S. CrabtreeEAI Consultant- Original Message - From: Teresa Cheung
To: [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:37 PMSubject:
ENDMQM.exe at system shutdownI am running MQSeries Server V5 on my Windows
2000. I got a popup error dialog everytime I shutdown the system. Below is a
snapshot from MQSeries error log . Please advise if there is a fix for this
scenario. Thanks!
TC+-
+|
|| MQSeries First Failure Symptom Report||
=
||   &n bsp;
|| Date/Time :- Tue May 27 09:17:05 Eastern Daylight Time 2003
|| Host Name :- UN-W-TCHEUNG (NT Version 5.0 Build 2195: Service
Pack  ||   2)   ;
|| PIDS  :- 5639B43
|| LVLS  :- 521
|| Product Long Name :- MQSeries for Windows NT and Windows 2000
|| Vendor:- IBM
|| Probe Id  :- XY334103
|| Application Name  :- MQM&n bsp;
|| Component :- xcsCheckLocalGroup
|| Build Date:- May  8 2001
|| CMVC level:- p521-L010508&nb sp;
|| Build Type:- IKAP - (Production)
|| UserID:- MUSR_MQADMIN
|| Process Name  :- E:\Program Files\IBM\MQSeries\bin\ENDMQM.exe
|| Process   :- 1672 &nb sp;
|| Thread:- 2060
|| Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC
|| Minor Errorcode   :- OK
|| Probe Type:- MSGAMQ6119
|| Probe Severity:- 2
|| Probe Description :- AMQ6119: An internal MQSeries error has occurred
||   (WinNT error 2226 from NetLocalGroupGetInfo.)& nbsp;
|| Comment1  :- WinNT error 2226 from NetLocalGroupGetInfo.
||
||
|+--
---+Do you Yahoo!?Free online calendar with sync to Outlook(TM).

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


ENDMQM.exe at system shutdown

2003-05-29 Thread Teresa Cheung
I am running MQSeries Server V5 on my Windows 2000. 
I got a popup error dialog everytime I shutdown the system. 
Below is a snapshot from MQSeries error log . 
Please advise if there is a fix for this scenario. 
Thanks! 
TC
 
+-+| || MQSeries First Failure Symptom Report    || =   ||   &n
bsp; || Date/Time :- Tue May 27 09:17:05 Eastern Daylight Time 2003 || Host Name :- UN-W-TCHEUNG (NT Version 5.0 Build 2195: Service Pack  ||   2)  
;  || PIDS  :- 5639B43    || LVLS  :- 521    || Product Long Name :- MQSeries for Windows NT and Windows 2000   
    || Vendor    :- IBM    || Probe Id  :- XY334103   || Application Name  :- MQM&n
bsp;   || Component :- xcsCheckLocalGroup || Build Date    :- May  8 2001    || CMVC level    :- p521-L010508&nb
sp;  || Build Type    :- IKAP - (Production)    || UserID    :- MUSR_MQADMIN   || Process Name  :- E:\Program Files\IBM\MQSeries\bin\ENDMQM.exe   || Process   :- 1672 &nb
sp; || Thread    :- 2060   || Major Errorcode   :- xecF_E_UNEXPECTED_SYSTEM_RC    || Minor Errorcode   :- OK
 || Probe Type    :- MSGAMQ6119 || Probe Severity    :- 2  || Probe Description :- AMQ6119: An internal MQSeries error has occurred   ||   (WinNT error 2226 from NetLocalGroupGetInfo.)&
nbsp;    || Comment1  :- WinNT error 2226 from NetLocalGroupGetInfo.    || ||  
   |+-+
 
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Broker on Solaris to update SQL Server, need ODBC driver...

2003-05-29 Thread McCarty, Brian
We have our WMQI brokers running on Solaris 8 with CSD04.  We want to be able to 
update a SQL Server on Windows 2000 without installing a broker there.  Has anybody 
done this before?  Obviously we are going to need an ODBC driver for SQL Server that 
works on Solaris.  I have never seen one of these personally but I noticed some 
vendors on the Internet that provide one (I am sure for a charge).

If someone as a suggestion on how to proceed I would appreciate it.

Thanks,

Brian

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: AMQ9209 Connection to host '&3' closed.

2003-05-29 Thread Morag Hughson
This is most unusual - I have never seen inserts show up like this before
(i.e. no inserts). Are you seeing this in your AMQERR01.LOG file or did you
use mqrc or some other tool to look at the message catalogue? If this is
from AMQERR01.LOG can you tell us what version of the product and which
platform you are using. Also which AMQERR01.LOG do you see this in.

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]

  Hi,

   I'm facing the following error, what causes this error to occur ... ??


AMQ9209 Connection to host '&3' closed.

Explanation: An error occurred receiving data from '&3' over &4. The
connection to the remote host has unexpectedly terminated.
User Response: Tell the systems administrator.

Thanks,
Roshini

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


AMQ9209 Connection to host '&3' closed.

2003-05-29 Thread Manickam, Roshini
  Hi,

   I'm facing the following error, what causes this error to occur ... ??


AMQ9209 Connection to host '&3' closed.  

Explanation: An error occurred receiving data from '&3' over &4. The connection to the 
remote host has unexpectedly terminated. 
User Response: Tell the systems administrator. 

Thanks,
Roshini

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Triggering Channels

2003-05-29 Thread Morag Hughson
Sony,

If your channel is in RETRY this means that the channel initiator will
periodically attempt to start it (based on your retry values). This is
normal processing and is designed to restart your channels automatically
after an outage (e.g. QM2 going down) without the need for manual
intervention. The transmission queue is deliberately set to GET(INHIBITED)
to prevent triggering because the channel initiator already knows about the
need to restart this channel and trigger messages are not needed. The
channel will re-enable the queue for get when it starts.

If you are not happy to let retry processing cope with this for you, then
you can set a short disconnect interval which tells the channel to end
(after this interval) when there are no more messages to process on it's
transmission queue. It will then be re-triggered when more messages turn
up. When the channel ends in this way it will be inactive. If the channel
is inactive when QM2 goes down it will not go into RETRY. If the channel is
running when QM2 ends you will still go into RETRY however.

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]

Hi everyone,

I have a scenario where 2 qmgrs QM1 and QM2 communicate with each other.
I've defined sender channel QM1.QM2 on QM1 and a corresponding receiver
channel on QM2.

I've set triggering ON for my transmission queue on QM1. When messages
arrive
on the transmission queue, the sender channel is triggered properly.

The issue I'm facing now is when QM2 goes down, the sender channel goes
into retry status.
Now when messages are put on the transmission queue, the channel initiator
cannot start the channel
and the transmission queue becomes get inhibited.

Is there anyway that I can prevent this from happening ?

Do reply.

Warm Regards
Sony.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Teresa Cheung
Chris,
Got it. I was not sure when you said the "settings" mean the "options" are set correctly. Thank you so much for your time. I will try the test program to see the put behavior.  My goal is to have the ability to have some output queues stay opened and some should be closed on every MQPUT.  Thanks,
TC"Fryett.Chris" <[EMAIL PROTECTED]> wrote:


Any of these would work fine, just make sure the message object and queue object look something like:
 
    ImqQueue m_Queue;
    ImqQueueManager m_Qmgr;
    ImqMessage m_Message;
    ...
    m_Queue.setName(requestQueueName);    m_Queue.setConnectionReference(m_Qmgr);    m_Queue.setOpenOptions(MQOO_OUTPUT);    ...
    m_Queue.put(m_Message);
 
You won't need to do a m_Queue.open(), because the m_Queue.put() will take care of it via the openFor() method.
 
Hope this helps.
 

ImqBoolean put( ImqMessage & msg ); 
ImqBoolean put( ImqMessage & msg, ImqPutMessageOptions & pmo ); 

-Original Message-From: Teresa Cheung [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 1:21 PMTo: [EMAIL PROTECTED]Subject: Re: Is there a MQPUT1 call in C++?
Chris, What are the correct settings for MQPUT1 in C++? 
 
Thanks,
TC"Fryett.Chris" <[EMAIL PROTECTED]> wrote:


Yes, if you just call put() it will ultimately call the openFor().  Make sure your settings are correct.  
 
Chris
 

-Original Message-From: Teresa Cheung [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 8:25 AMTo: [EMAIL PROTECTED]Subject: Is there a MQPUT1 call in C++?



Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information. Thanks,TC


Do you Yahoo!?Free online calendar with sync to Outlook(TM).
*The information transmitted is intended solely for theindividual or entity to which it is addressed and maycontain confidential and/or privileged material. Anyreview, retransmission, dissemination or other use ofor taking action in reliance upon this information bypersons or entities other than the intended recipientis prohibited. If you have received this email in errorplease contact the sender and delete the materialfrom any computer.


Do you Yahoo!?Free online calendar with sync to Outlook(TM).
*The information transmitted is intended solely for theindividual or entity to which it is addressed and maycontain confidential and/or privileged material. Anyreview, retransmission, dissemination or other use ofor taking action in reliance upon this information bypersons or entities other than the intended recipientis prohibited. If you have received this email in errorplease contact the sender and delete the materialfrom any computer.
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Fryett.Chris



Any of 
these would work fine, just make sure the message object and queue object look 
something like:
 
    ImqQueue m_Queue;
    ImqQueueManager m_Qmgr;
    ImqMessage m_Message;
    ...
    
m_Queue.setName(requestQueueName);    
m_Queue.setConnectionReference(m_Qmgr);    
m_Queue.setOpenOptions(MQOO_OUTPUT);    
...
    m_Queue.put(m_Message);
 
You 
won't need to do a m_Queue.open(), because the m_Queue.put() will take care of 
it via the openFor() method.
 
Hope 
this helps.
 

ImqBoolean put( ImqMessage & msg ); 
ImqBoolean put( ImqMessage & msg, 
ImqPutMessageOptions & pmo ); 

  -Original Message-From: Teresa Cheung 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 1:21 
  PMTo: [EMAIL PROTECTED]Subject: Re: Is there a 
  MQPUT1 call in C++?
  Chris, What are the correct settings for MQPUT1 in C++? 
   
  Thanks,
  TC"Fryett.Chris" <[EMAIL PROTECTED]> 
  wrote:
  

Yes, if you just call put() it will ultimately call the 
openFor().  Make sure your settings are correct.  

 
Chris
 

  -Original Message-From: Teresa Cheung 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 8:25 
  AMTo: [EMAIL PROTECTED]Subject: Is there a 
  MQPUT1 call in C++?
  
  

Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this 
information. Thanks,TC
  
  
  Do you Yahoo!?Free online 
  calendar with sync to Outlook(TM).
*The 
information transmitted is intended solely for theindividual or entity 
to which it is addressed and maycontain confidential and/or privileged 
material. Anyreview, retransmission, dissemination or other use ofor 
taking action in reliance upon this information bypersons or entities 
other than the intended recipientis prohibited. If you have received 
this email in errorplease contact the sender and delete the 
materialfrom any 
computer.
  
  
  Do you Yahoo!?Free online 
  calendar with sync to Outlook(TM).*The information transmitted is intended solely for theindividual or entity to which it is addressed and maycontain confidential and/or privileged material. Anyreview, retransmission, dissemination or other use ofor taking action in reliance upon this information bypersons or entities other than the intended recipientis prohibited. If you have received this email in errorplease contact the sender and delete the materialfrom any computer.


Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Fryett.Chris
On the other half question.  When the instance of the queue object goes out of scope 
it will close it.

Chris


-Original Message-
From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 6:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Is there a MQPUT1 call in C++?


Teresa
I quickly modified the amqsput c++ application from the installed source in
the tools directory and I commented the queue.open command out.
Guess what, the application still works.  So, if the queue is not open at
put time, it will open it for you.  Now that is half of the behaviour of
put1.

The other half, closing the queue after the put, I'm not sure if it did
that.  Maybe you can continue testing and let me know if it will close the
queue or not.  If you're running into problems, let me know and I'll see
what I can figure out this evening.

Have fun.

Francois van der Merwe
Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert &
Developer
IBM, Cape Town, South Africa
+27 (0)82 556 9467 / +27 (0)21 402 5597
[EMAIL PROTECTED]




  Teresa Cheung
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  COM> cc:
  Sent by: MQSeriesSubject:  Is there a MQPUT1 call in C++?
  List
  <[EMAIL PROTECTED]
  N.AC.AT>


  28/05/2003 14:24
  Please respond to
  MQSeries List






Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information.

Thanks,
TC


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


*
The information transmitted is intended solely for the
individual or entity to which it is addressed and may
contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of
or taking action in reliance upon this information by
persons or entities other than the intended recipient
is prohibited. If you have received this email in error
please contact the sender and delete the material
from any computer.


Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Access problems using MO71 for qmgr on OpenVMS

2003-05-29 Thread Paul Clarke
>Paul... support pac MO71 is great! Much needed in MQ environments in the
>field.

>I have 1 question on future direction of your support pac.  Many of the
>"queries" that can be run interactively with the tool return a wealth of
>information. Do you forsee any plans for having a command line interface
so
>that this functionality can return result sets to a calling program? (
>possibly in xml )

Jesse,

I'm not sure I understand the question. I wrote MO71 because originally
commands to a Queue Manager could *only* be provided via a programmatical
interface, ie. PCF comamnds. (This was long before MQ Explorer). To put a
programmatical interface on the back end of a GUI seems a little like
reinventing the wheel. The PCF commands may take a little time to learn but
you could fairly easily encapsulate them into a simple called program. MO71
only uses PCF commands or direct MQI calls to return the information; I
don't use any backdoor interfaces,

Thanks for your comments about the supportpac though, I'm glad users still
find it useful. As always I welcome comments about how I can improve it and
if I've got thr wrong end of the stick about your suggested change them
please get back to me.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Teresa Cheung
Chris, What are the correct settings for MQPUT1 in C++? 
 
Thanks,
TC"Fryett.Chris" <[EMAIL PROTECTED]> wrote:


Yes, if you just call put() it will ultimately call the openFor().  Make sure your settings are correct.  
 
Chris
 

-Original Message-From: Teresa Cheung [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 8:25 AMTo: [EMAIL PROTECTED]Subject: Is there a MQPUT1 call in C++?



Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information. Thanks,TC


Do you Yahoo!?Free online calendar with sync to Outlook(TM).
*The information transmitted is intended solely for theindividual or entity to which it is addressed and maycontain confidential and/or privileged material. Anyreview, retransmission, dissemination or other use ofor taking action in reliance upon this information bypersons or entities other than the intended recipientis prohibited. If you have received this email in errorplease contact the sender and delete the materialfrom any computer.
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: Client Connection changed to Server Connection

2003-05-29 Thread Stefan Sievert
Franklin,
if your application is compiled code that is linked with the MQ client
libraries, it may run without any error locally to a queue manager if either
MQSERVER or MQCHLTAB is defined and available. If they are not, I assume it
will just return a reason code of 2059 during MQCONN processing, just like
it would on a remote client that isn't set up properly.
HTH,
Stefan
From: franklin dcosta <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Client Connection changed to Server Connection
Date: Wed, 28 May 2003 14:58:15 +0100
HI Friends,
 A small question for you all, if an application
connected as a client , is moved , to connect as a
server, will it give an error and what type of error?
Regards,
Franklin
__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQGMO Versions

2003-05-29 Thread Francois Van der Merwe1
TC
Have a look in the application programmers reference, chapter 8.
In short, version 3 adds a Message token and length of message data
returned

Francois van der Merwe
Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert &
Developer
IBM, Cape Town, South Africa
+27 (0)82 556 9467 / +27 (0)21 402 5597
[EMAIL PROTECTED]



   
 
  Teresa Cheung
 
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]

  COM> cc: 
 
  Sent by: MQSeriesSubject:  MQGMO Versions
 
  List 
 
  <[EMAIL PROTECTED]   
  
  N.AC.AT> 
 
   
 
   
 
  28/05/2003 16:42 
 
  Please respond to
 
  MQSeries List
 
   
 





What is the difference between ...
1. MQGMO_VERSION_2
2. MQGMO_VERSION_3

Thanks,
TC


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Client Connection changed to Server Connection

2003-05-29 Thread Francois Van der Merwe1
For a c/c++ application you must re-link the application if you want to
change access from client to server.  If you move a client to a server
machine where the client portion is not installed you will get an error.

Francois van der Merwe
Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert &
Developer
IBM, Cape Town, South Africa
+27 (0)82 556 9467 / +27 (0)21 402 5597
[EMAIL PROTECTED]




  franklin dcosta
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  M>   cc:
  Sent by: MQSeriesSubject:  Client Connection changed to 
Server Connection
  List
  <[EMAIL PROTECTED]
  N.AC.AT>


  28/05/2003 15:58
  Please respond to
  MQSeries List





HI Friends,
 A small question for you all, if an application
connected as a client , is moved , to connect as a
server, will it give an error and what type of error?
Regards,
Franklin

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Access problems using MO71 for qmgr on OpenVMS

2003-05-29 Thread Roger Lacroix
Hi,

Actually, I started working on a Java based solution that would handle a
query language called MQ/SQL (Yes syntax like SQL).  But I got bogged down
with other projects and I never got very far.  The goal was to have 3
parts: GUI component, batch component and a called API component.
I don't know if many people are interested in this kind of solution (i.e.
treating MQ like a database).
What is everyone's opinion?

later
Roger...
At 09:18 AM 5/28/2003, you wrote:
Paul... support pac MO71 is great! Much needed in MQ environments in the
field.
I have 1 question on future direction of your support pac.  Many of the
"queries" that can be run interactively with the tool return a wealth of
information. Do you forsee any plans for having a command line interface so
that this functionality can return result sets to a calling program? (
possibly in xml )
Again... wonderful job. Thanks!

  jesse h. goode jr

  e-mail: [EMAIL PROTECTED]

-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Access problems using MO71 for qmgr on OpenVMS
Don,

Despite the title of this append this does not appear to be a problem with
my MO71 support pac since you also get the problem with RUNMQSC. It should
not be possible to bring down the command server just by sending it a
message and I suspect there is a problem with either your command server
set up or with the actual product. I'm afraid I don't use the OpenVMS
product so the best I can suggest is that you raise a problem with service.
If you are savvy about the MQ OpenVMS product it might be worth you running
trace during the failure and taking a look. This might give some clue as to
what the command server was trying to do before it died.
Cheers,
P.
Paul G Clarke
WebSphere MQ Development
IBM Hursley


|-+>
| |   "Thomas, Don"|
| |   <[EMAIL PROTECTED]|
| |   OM>  |
| |   Sent by: MQSeries|
| |   List |
| |   <[EMAIL PROTECTED]|
| |   N.AC.AT> |
| ||
| ||
| |   23/04/2003 19:08 |
| |   Please respond to|
| |   MQSeries List|
| ||
|-+>
>---
-|
  |
|
  |   To:   [EMAIL PROTECTED]
|
  |   cc:
|
  |   Subject:  Access problems using MO71 for qmgr on OpenVMS
|
  |
|
  |
|
>---
-|


Actually, upon further testing, the limitation only seems to apply to
channels. I can create, alter, and delete queues and processes but every
time I attempt those actions against a channel I get the access violation.
Curiouser and curiouser...
Group,
I'm experiencing problems using the MO71 Support Pac when trying to
issue commands to a qmgr that I have running on an OpenVMS Alpha machine.
The MQ level on the Alpha is V5.1 and the MO71 is V5.2 (Jul-9-2001). I can
connect to the qmgr using the MO71 and query to my hearts content, but
every
time that I try to alter any qmgr owned object I get a %SYSTEM-F-ACCVIO
error and the command server gets shut down. The id that I'm using has the
MQM rights identifier and I have no problems running the same commands
while
logged in locally using RUNMQSC. I've also logged into a Windows NT machine
I have and tried running the RUNMQSC -W and get the same results. I can
query but not alter. I must be missing something, but  can't for the life
of
me see what it is. Anyone have any ideas?
Don Thomas
EDS - PASC
* Phone: +01-412-893-1659
 Fax: 412-893-1844
* mailto:[EMAIL PROTECTED]
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Francois Van der Merwe1
Teresa
I quickly modified the amqsput c++ application from the installed source in
the tools directory and I commented the queue.open command out.
Guess what, the application still works.  So, if the queue is not open at
put time, it will open it for you.  Now that is half of the behaviour of
put1.

The other half, closing the queue after the put, I'm not sure if it did
that.  Maybe you can continue testing and let me know if it will close the
queue or not.  If you're running into problems, let me know and I'll see
what I can figure out this evening.

Have fun.

Francois van der Merwe
Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert &
Developer
IBM, Cape Town, South Africa
+27 (0)82 556 9467 / +27 (0)21 402 5597
[EMAIL PROTECTED]




  Teresa Cheung
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]
  COM> cc:
  Sent by: MQSeriesSubject:  Is there a MQPUT1 call in C++?
  List
  <[EMAIL PROTECTED]
  N.AC.AT>


  28/05/2003 14:24
  Please respond to
  MQSeries List






Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information.

Thanks,
TC


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MQSeries installation problem

2003-05-29 Thread Wyatt, T. Rob
Ganesh,

Two things I would check here...

First, when the install is performed a common mistake is to select all
options, including the DCE support, even though the server is not in a DCE
environment.

The second thing is the kernel parms.  IBM published new values that
superceded the Quick beginnings book at one point.  I don't know whether the
Quick Beginnings book has been updated so I am including the values as they
were published on this mailing list a while back.

set msgsys:msginfo_msgmap=1026
set msgsys:msginfo_msgmax=4096
set msgsys:msginfo_msgmnb=4096
set msgsys:msginfo_msgmni=50
set msgsys:msginfo_msgseg=2048
set msgsys:msginfo_msgsz=8
set msgsys:msginfo_msgtql=1024
set semsys:seminfo_semaem=16384
set semsys:seminfo_semmap=1026
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmns=32767
set semsys:seminfo_semmnu=2048
set semsys:seminfo_semmsl=128
set semsys:seminfo_semopm=128
set semsys:seminfo_semume=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4194304
set shmsys:shminfo_shmmni=1024
set shmsys:shminfo_shmseg=1024

We also found this to be helpful:
set rlim_fd_cur=1024

Regards,
-- T.Rob



-Original Message-
From: Ganesh V [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:25 AM
To: [EMAIL PROTECTED]
Subject: MQSeries installation problem


Can someone help on this..

We are facing problems with MQSeries after installing WebSphere MQ
Server 5.2 on Sun Solaris 5.8 box.
Whenever we create a QM, the QM is created but it gives an error
'Segmentation fault'.
The status of the QM is 'Ended Normally' as shown below.

$ dspmq
QMNAME(QM1)STATUS(Ended normally)

When we try to start the QM, the following error is thrown.
$ strmqm
AMQ7002: An error occurred manipulating a file.

Thanks,
Ganesh.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Channel State - Retrying

2003-05-29 Thread Sony Varghese
Thanks Hubert .. 

Would this matter even if MQSeries is installed on a shared disk
that is visible to both the members ?


Regards
Sony

-Original Message-
From: Kleinmanns, Hubert [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 12:43
To: [EMAIL PROTECTED]
Subject: AW: Channel State - Retrying


Hi Sony,

the data and status informations are stored in files in /var/mqm. You must
take over theses files, to run your queue manager on another node.
Otherwise
you do not have the same queue manager running, but only a different queue
manager with the same name. Values like "sequence number" then differ.

NPMSPEED stands for NonPersistentMessageSPEED. If this value is set to
FAST,
you may loose (and problably have lost) non-persistent messages.

Regards
Hubert Kleinmanns


-Ursprüngliche Nachricht-
Von: Sony Varghese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Mai 2003 11:55
An: [EMAIL PROTECTED]
Betreff: Re: Channel State - Retrying


Hi Hubert,

Here is my present test scenario:

I'm presently using TruCluster V5.1 (Cluster software for Compaq Tru64
Unix)

During relocation, I am not taking over the filesystem /var/mqm . Will
this cause 
a problem?

My test messages presently are not persistent .
Channel attribute NPMSPEED is set to Fast.

Awaiting your reply,

Warm Regards,
VJ.





-Original Message-
From: Kleinmanns, Hubert [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 10:23
To: [EMAIL PROTECTED]
Subject: AW: Channel State - Retrying


Hi Sony,

some questions:

What cluster do you use (HACMP, SunHA, Veritas ...) ?
Do you take over the file system /var/mqm ?
Are your messages persistent ?
What is the value of the channel attribut NPMSPEED ?

Regards
Hubert Kleinmanns


-Ursprüngliche Nachricht-
Von: Sony Varghese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Mai 2003 10:48
An: [EMAIL PROTECTED]
Betreff: Channel State - Retrying


Hi everyone,

When does a channel go into the retry state?

I have a scenario where 2 qmgrs QM1 and QM2 communicate with each other.
I've defined sender channel QM1.QM2 on QM1 and a corresponding receiver
channel on QM2
QM2 is on a clustered node consisting of 2 members M1 and M2.
As a part of my test, I initially put 200 messages on a remote definition
queue on QM1
and all the 200 messages are transferred to the corresponding queue on
QM2. No problems here !!

Both the sender and receiver channel are in the running state at this
point. While the channels
are in the running state i switch/relocate QM2 from member M1 to M2.
During relocation,
QM2 is ended in the following way:
 - endmqm -i  :
If this takes more than a specified time,
- endmqm -p
  If this takes more than a specified time,
- manually stopping the queue manager

Once QM2 comes back up again, the receiver channel is inactive but the
sender is still running ..
I thought that at this point the sender channel would go to retrying state
but
it still remains in the running state?

I put another 200 messages but the messages are not delivered to the queue
on QM2. However,
the transmission queue on QM1 is empty and the sender channel status shows
me a message count of 400.

Has anyone faced this before?

Do reply,

Thanks,
VJ

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Triggering Channels

2003-05-29 Thread Sony Varghese
Hi everyone,

I have a scenario where 2 qmgrs QM1 and QM2 communicate with each other.
I've defined sender channel QM1.QM2 on QM1 and a corresponding receiver
channel on QM2.

I've set triggering ON for my transmission queue on QM1. When messages
arrive
on the transmission queue, the sender channel is triggered properly.

The issue I'm facing now is when QM2 goes down, the sender channel goes
into retry status.
Now when messages are put on the transmission queue, the channel initiator
cannot start the channel
and the transmission queue becomes get inhibited.

Is there anyway that I can prevent this from happening ?

Do reply.

Warm Regards
Sony.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: opening multiple connections from C program on solaris

2003-05-29 Thread Lakshmi, Saraswathi
Hi, 

THanks for your response. 

We are using MQ 5.2 on all our dev/test/production platforms. We can migrate to MQ 5.3 
only when it has tested in our DEV. env. I have two choices now either to upgrade to 
MQ 5.3 or to make application multi/threaded. We are unable to install MQ 5.3 since 
our dev. is still under Solris 2.6 (for dependencies from other s/w residing on the 
server). 

Right now except for the MQ part - all other events in the program are driven by a 
Semaphore. For the MQ part - polling on MQGET is done. Looks like i have to do some 
re-design with mutli-threading, under the given circumstances.

thanks and regards
lakshmi
> -Original Message-
> From: Paul Clarke [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 1:47 PM
> To:   [EMAIL PROTECTED]
> Subject:   Re: opening multiple connections from C program on solaris
> 
> >Hi,
> 
> >The reason for requiring multiple connections - is the application is
> designed as a gateway to two other applicatins. Hence there >is a
> possiblity of getting messages from either interfaces asynchronously.
> further the async. processing is based on a dialog. >Unless the dialog is
> complete, messages that are retreived or put cannot be commited. If there
> is an error in completing the >dialog, then it should be rolled-back for
> the particular message in question, rather than for all messges that have
> been handled >on that connection (within a given time-interval), but the
> status of other messages in other queues would be different ( because >the
> dialog may not be complete ..because the application is waiting for a
> response to arrive, while it is currently someother >message on a different
> queue). Then we have a problem of data consistency.
> 
> >rgds
> >lakshmi
> 
> lakshmi,
> 
> I think I understand now, you have a dialog which retrieves a message from
> the server under a transaction, this drives a dialog and when the dialog is
> complete you want to send a response and commit the whole as a transaction.
> This seems reasonable, however, if you are acting on behalf of multiple
> dialogs and messages can arrive on the server at any time then I would have
> throught you'd have to do this as a multithreaded application anyway. You
> can't, sadly, wait on an MQGET and on, say, a semaphore at the same time.
> Is there any particular reason why you want to restrict yourself to a
> single thread ?
> 
> Cheers,
> P.
> 
> Paul G Clarke
> WebSphere MQ Development
> IBM Hursley
> 
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive



The content of this e-mail is intended only for the confidential use of the
person addressed. If you have received this message in error, please notify
us immediately by electronic mail, by telephone or by fax at the above num-
bers.

E-mail communications are not secure and therefore we do not accept any res-
ponsibility for the confidentiality or altered contents of this message.

Please be aware that SIS Group and its subsidiary companies cannot accept
any orders or other legally binding correspondence with a participant as
part of an E-mail. The views expressed above are not necessarily those held
by SIS Group and its subsidiary companies and not binding for them.
exfe

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Is there a MQPUT1 call in C++?

2003-05-29 Thread Fryett.Chris



Yes, 
if you just call put() it will ultimately call the openFor().  Make sure 
your settings are correct.  
 
Chris
 

  -Original Message-From: Teresa Cheung 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 28, 2003 8:25 
  AMTo: [EMAIL PROTECTED]Subject: Is there a MQPUT1 
  call in C++?
  
  

Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information. 
Thanks,TC
  
  
  Do you Yahoo!?Free online 
  calendar with sync to Outlook(TM).*The information transmitted is intended solely for theindividual or entity to which it is addressed and maycontain confidential and/or privileged material. Anyreview, retransmission, dissemination or other use ofor taking action in reliance upon this information bypersons or entities other than the intended recipientis prohibited. If you have received this email in errorplease contact the sender and delete the materialfrom any computer.


Re: Channel State - Retrying

2003-05-29 Thread Brian Elliott
Sounds like you may have an orphaned channel.  Is there an ADOPTMCA (or
platform equivalent) that you need to turn on?

Brian Elliott
Bank One -  Infrastructure & Operations
Work:  (614)213-6073
Pager:  (877)309-8797




Sony Varghese <[EMAIL PROTECTED]>@AKH-WIEN.AC.AT> on 05/28/2003
04:47:47 AM

Please respond to MQSeries List <[EMAIL PROTECTED]>

Sent by:  MQSeries List <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:

Subject:  Channel State - Retrying



Hi everyone,

When does a channel go into the retry state?

I have a scenario where 2 qmgrs QM1 and QM2 communicate with each other.
I've defined sender channel QM1.QM2 on QM1 and a corresponding receiver
channel on QM2
QM2 is on a clustered node consisting of 2 members M1 and M2.
As a part of my test, I initially put 200 messages on a remote definition
queue on QM1
and all the 200 messages are transferred to the corresponding queue on
QM2. No problems here !!

Both the sender and receiver channel are in the running state at this
point. While the channels
are in the running state i switch/relocate QM2 from member M1 to M2.
During relocation,
QM2 is ended in the following way:
 - endmqm -i  :
If this takes more than a specified time,
- endmqm -p
  If this takes more than a specified time,
- manually stopping the queue manager

Once QM2 comes back up again, the receiver channel is inactive but the
sender is still running ..
I thought that at this point the sender channel would go to retrying state
but
it still remains in the running state?

I put another 200 messages but the messages are not delivered to the queue
on QM2. However,
the transmission queue on QM1 is empty and the sender channel status shows
me a message count of 400.

Has anyone faced this before?

Do reply,

Thanks,
VJ

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive





This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


MQGMO Versions

2003-05-29 Thread Teresa Cheung
What is the difference between ...
1. MQGMO_VERSION_2 2. MQGMO_VERSION_3
 
Thanks,
TC
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Channel Usage

2003-05-29 Thread franklin dcosta
Two different applications are putting messages and
each application uses separate channels.
(1)  If the channels are fully utilized, how do I
improve performance
(2)  If the channels are not fully utilized, how do I
improve performance
Thanks


__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Client Connection changed to Server Connection

2003-05-29 Thread franklin dcosta
HI Friends,
 A small question for you all, if an application
connected as a client , is moved , to connect as a
server, will it give an error and what type of error?
Regards,
Franklin

__
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


WMQI, CICS Bridge and applorigindata

2003-05-29 Thread Sally Hassey
We use the cics bridge to execute cics programs for request/replies using WMQI 2.1 to 
form the cics commarea and set up the message properly for the cics bridge. I am 
trying to set the mqmd.applorigindata to indicate where the data is coming from in the 
request message. The mqoutput node /advanced tab/ message context is set to 'set 
identity'. When the message returns from cics bridge - the applorigindata is set back 
to blank. Is there a way to tell the bridge to retain this so that I can use this 
field?? 

Thanks in advance for any help!!

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Access problems using MO71 for qmgr on OpenVMS

2003-05-29 Thread Goode, Jesse
Paul... support pac MO71 is great! Much needed in MQ environments in the
field.

I have 1 question on future direction of your support pac.  Many of the
"queries" that can be run interactively with the tool return a wealth of
information. Do you forsee any plans for having a command line interface so
that this functionality can return result sets to a calling program? (
possibly in xml )

Again... wonderful job. Thanks!

  jesse h. goode jr

  e-mail: [EMAIL PROTECTED]


-Original Message-
From: Paul Clarke [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Access problems using MO71 for qmgr on OpenVMS


Don,

Despite the title of this append this does not appear to be a problem with
my MO71 support pac since you also get the problem with RUNMQSC. It should
not be possible to bring down the command server just by sending it a
message and I suspect there is a problem with either your command server
set up or with the actual product. I'm afraid I don't use the OpenVMS
product so the best I can suggest is that you raise a problem with service.
If you are savvy about the MQ OpenVMS product it might be worth you running
trace during the failure and taking a look. This might give some clue as to
what the command server was trying to do before it died.

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley




|-+>
| |   "Thomas, Don"|
| |   <[EMAIL PROTECTED]|
| |   OM>  |
| |   Sent by: MQSeries|
| |   List |
| |   <[EMAIL PROTECTED]|
| |   N.AC.AT> |
| ||
| ||
| |   23/04/2003 19:08 |
| |   Please respond to|
| |   MQSeries List|
| ||
|-+>

>---
-|
  |
|
  |   To:   [EMAIL PROTECTED]
|
  |   cc:
|
  |   Subject:  Access problems using MO71 for qmgr on OpenVMS
|
  |
|
  |
|

>---
-|




Actually, upon further testing, the limitation only seems to apply to
channels. I can create, alter, and delete queues and processes but every
time I attempt those actions against a channel I get the access violation.
Curiouser and curiouser...


Group,
I'm experiencing problems using the MO71 Support Pac when trying to
issue commands to a qmgr that I have running on an OpenVMS Alpha machine.
The MQ level on the Alpha is V5.1 and the MO71 is V5.2 (Jul-9-2001). I can
connect to the qmgr using the MO71 and query to my hearts content, but
every
time that I try to alter any qmgr owned object I get a %SYSTEM-F-ACCVIO
error and the command server gets shut down. The id that I'm using has the
MQM rights identifier and I have no problems running the same commands
while
logged in locally using RUNMQSC. I've also logged into a Windows NT machine
I have and tried running the RUNMQSC -W and get the same results. I can
query but not alter. I must be missing something, but  can't for the life
of
me see what it is. Anyone have any ideas?


Don Thomas
EDS - PASC
* Phone: +01-412-893-1659
 Fax: 412-893-1844
* mailto:[EMAIL PROTECTED]

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: MVS access from Open Edition

2003-05-29 Thread Robert Broderick
Thanks Morag,
That is some very useful information. I was playing with OE about 2 years
ago and trying to implement a CORBA/JAVA wrapper for our backend CICS
services. I was told by management to stop. IT wasn't within their corporate
direction. Really peed me off. I was actually getting a solution for their
requirements!! AAAGGG So my OE interface is very rusty!! I will
talk to the developer with this info and see what he wants to do.
AGAIN...THANKS!!!
bobbee


From: Morag Hughson <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: MVS access from Open Edition
Date: Tue, 27 May 2003 17:39:58 +0100
There are no MQ samples supplied in USS, but these is nothing to stop you
compiling an MQ program (i.e. the source for amqsget0 uploaded from your
windows box) and running it to connect to your MQ queue manager on MVS. The
black magic required looks something like this
The following way to build a C-sample:
.
cc -o mqsamp -I "//'thlqual.SCSQC370'" mqsamp.c
   "//'thlqual.SCSQLOAD(CSQBSTUB)'"
.
where thlqual is the high-level qualifier used by your installation.
.
To run the C-program you will need to add the following to your
.profile file (which should be in your root directory, if it isn't
create it remembering the "." at the beginning of the name):
.
STEPLIB=thlqual.SCSQANLE:thlqual.SCSQAUTH:#STEPLIB
.
You will need to exit from OpenEdition and go back in for this
change to be picked up.
.
Also adding the word export at the beginning of the line
would be useful, it isn't essential, but if you end up
running multiple shells it will be required:
.
export STEPLIB=thlqual.SCSQANLE:thlqual.SCSQAUTH:#STEPLIB
Once complete you can then link the CSQBSTUB successfully and then
are able to issue normal MQSeries calls.
Hope this helps
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]
  Robert Broderick
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  OTMAIL.COM>   cc:
  Sent by: MQSeries Subject:  Re: MVS access
from Open Edition
  List
  <[EMAIL PROTECTED]
  .AC.AT>
  27/05/2003 16:46
  Please respond to
  MQSeries List


Well here is a natural assumption (on UNIX). You have to access a queue.
You
type in amqsget(c) and walla. you have your data. So you can not do it that
easy on MVS BUT.we have Open Edition. UNIX!! Right?
I typed in amqsget at the command linenothing. The QMGR is running on
MVS with the Broker on Open Edition. HUMM. I think the MF guys in
Hursely played som MVS magic connecting the Broker to the QMGR. So, and
this
is starting to look disappointingly obvious, I do not think there is a
installation of MQ on the OE side to do things like this. I would think
that
something has to be installed, like MQ for Open Edition (if that exist) or
(and I doubt very much that this exist) a client install. This would make
the commands available. Right now I cannot find the binaries anywhere.
Just wanted someone to confirm this. I told the developer he needed to code
something. But is relunctant. Because of the lack of tools in this place he
wants a tool!!
  bobbee

>From: "Kearns, Emile E" <[EMAIL PROTECTED]>
>Reply-To: MQSeries List <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Date: Tue, 27 May 2003 15:23:32 +0200
>
>The CSQUTIL utility program is provided with MQSeries to help you to
>perform
>backup, restoration, and reorganization tasks, and to issue MQSeries
>commands.
>Is this what you are asking?
>
>-Original Message-
>From: Robert Broderick [mailto:[EMAIL PROTECTED]
>Sent: 27 May 2003 02:29
>To: [EMAIL PROTECTED]
>Subject:
>
>
>If MQ is installed on the MVS side and you are using a broker on the ZOS
>side how does the broker excercise the MQ commands and how can I issue
the
>MQ commands (ie amqsget, amqsgetc) on the ZOS side.
>
>bobb
>
>_
>The new MSN 8: advanced junk mail protection and 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>Instructions for managing your mailing list subscription are provided in
>the Listserv General Users Guide available at http://www.lsoft.com
>Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
>For information about the Standard Bank group visit our web site
>www.standardbank.co.za
>
>Disclaimer and confidentiality note
>
>Everything in this e-mail and any attachments relating to the official
>business of Standard Bank Group Limited  is proprietary to the group.
>It is confidential, legally privileged and protected by law. Standard
Bank
>does not own and endorse any other content. Views and opinions are
>those of the sender unless clearly stated as being that of the group.The
>person addressed in

Is there a MQPUT1 call in C++?

2003-05-29 Thread Teresa Cheung



Is there an equivalent call in C++ like MQPUT1 in C or COBOL?
I've been looking for a while but not able to locate this information. Thanks,TC
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Re: opening multiple connections from C program on solaris

2003-05-29 Thread Paul Clarke
>Hi,

>The reason for requiring multiple connections - is the application is
designed as a gateway to two other applicatins. Hence there >is a
possiblity of getting messages from either interfaces asynchronously.
further the async. processing is based on a dialog. >Unless the dialog is
complete, messages that are retreived or put cannot be commited. If there
is an error in completing the >dialog, then it should be rolled-back for
the particular message in question, rather than for all messges that have
been handled >on that connection (within a given time-interval), but the
status of other messages in other queues would be different ( because >the
dialog may not be complete ..because the application is waiting for a
response to arrive, while it is currently someother >message on a different
queue). Then we have a problem of data consistency.

>rgds
>lakshmi

lakshmi,

I think I understand now, you have a dialog which retrieves a message from
the server under a transaction, this drives a dialog and when the dialog is
complete you want to send a response and commit the whole as a transaction.
This seems reasonable, however, if you are acting on behalf of multiple
dialogs and messages can arrive on the server at any time then I would have
throught you'd have to do this as a multithreaded application anyway. You
can't, sadly, wait on an MQGET and on, say, a semaphore at the same time.
Is there any particular reason why you want to restrict yourself to a
single thread ?

Cheers,
P.

Paul G Clarke
WebSphere MQ Development
IBM Hursley

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


AW: Channel State - Retrying

2003-05-29 Thread Kleinmanns, Hubert
Hi Sony,

the data and status informations are stored in files in /var/mqm. You must
take over theses files, to run your queue manager on another node. Otherwise
you do not have the same queue manager running, but only a different queue
manager with the same name. Values like "sequence number" then differ.

NPMSPEED stands for NonPersistentMessageSPEED. If this value is set to FAST,
you may loose (and problably have lost) non-persistent messages.

Regards
Hubert Kleinmanns


-Ursprüngliche Nachricht-
Von: Sony Varghese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Mai 2003 11:55
An: [EMAIL PROTECTED]
Betreff: Re: Channel State - Retrying


Hi Hubert,

Here is my present test scenario:

I'm presently using TruCluster V5.1 (Cluster software for Compaq Tru64
Unix)

During relocation, I am not taking over the filesystem /var/mqm . Will
this cause 
a problem?

My test messages presently are not persistent .
Channel attribute NPMSPEED is set to Fast.

Awaiting your reply,

Warm Regards,
VJ.





-Original Message-
From: Kleinmanns, Hubert [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 10:23
To: [EMAIL PROTECTED]
Subject: AW: Channel State - Retrying


Hi Sony,

some questions:

What cluster do you use (HACMP, SunHA, Veritas ...) ?
Do you take over the file system /var/mqm ?
Are your messages persistent ?
What is the value of the channel attribut NPMSPEED ?

Regards
Hubert Kleinmanns


-Ursprüngliche Nachricht-
Von: Sony Varghese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Mai 2003 10:48
An: [EMAIL PROTECTED]
Betreff: Channel State - Retrying


Hi everyone,

When does a channel go into the retry state?

I have a scenario where 2 qmgrs QM1 and QM2 communicate with each other.
I've defined sender channel QM1.QM2 on QM1 and a corresponding receiver
channel on QM2
QM2 is on a clustered node consisting of 2 members M1 and M2.
As a part of my test, I initially put 200 messages on a remote definition
queue on QM1
and all the 200 messages are transferred to the corresponding queue on
QM2. No problems here !!

Both the sender and receiver channel are in the running state at this
point. While the channels
are in the running state i switch/relocate QM2 from member M1 to M2.
During relocation,
QM2 is ended in the following way:
 - endmqm -i  :
If this takes more than a specified time,
- endmqm -p
  If this takes more than a specified time,
- manually stopping the queue manager

Once QM2 comes back up again, the receiver channel is inactive but the
sender is still running ..
I thought that at this point the sender channel would go to retrying state
but
it still remains in the running state?

I put another 200 messages but the messages are not delivered to the queue
on QM2. However,
the transmission queue on QM1 is empty and the sender channel status shows
me a message count of 400.

Has anyone faced this before?

Do reply,

Thanks,
VJ

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


MDB that uses MQSeries in JBoss

2003-05-29 Thread Angel Mario Puerto
Hello all,

 I am trying to get MQSeries 5.3 work with JBOSS 3.2.X and that a MDB read
form a MQ queue.
 Has anyone successfully integrated MQSeries with JBOSS?

 Any help would be appreciated because I'm new at writting J2EE aplications
and using MQSeries and JBoss.

 Thank You.

 Mario

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive