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 » must install MQ client ?

Post new topic  Reply to topic
 must install MQ client ? « View previous topic :: View next topic » 
Author Message
andy840920
PostPosted: Sun May 20, 2007 5:54 am    Post subject: must install MQ client ? Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

my program use MQCONNX connect to MQ server QMGR and execute MQPUT or MQGET operation. must i install the MQ Client program? because is not should install client by Java. only use some jar packages.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun May 20, 2007 8:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You can of course only install the java jars (this will carry some restrictions).
But to get the full benefit (including translation of CCSID for text messages) you should install the full MQ Client and always reference the jars from the client install path...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Sun May 20, 2007 12:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Also the only client configuration supported by IBM is the one where the client is fully installed. Hence if you feel you'll need PMR support at some point in the future (e.g. a production setup) you're best advised to install the client.

It's not like the license costs you anything.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
andy840920
PostPosted: Mon May 21, 2007 3:06 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

fjb_saper wrote:
You can of course only install the java jars (this will carry some restrictions).
But to get the full benefit (including translation of CCSID for text messages) you should install the full MQ Client and always reference the jars from the client install path...

Enjoy
but my program writed by C language must install the client? my program linked libmqic.so and running on linux as3 and is not install the client. use MQCONNX function and directly MQCD fields like connectName... but MQOPEN ended with 2018, the MQCONNX is successful.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon May 21, 2007 5:47 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

andy840920 wrote:
fjb_saper wrote:
You can of course only install the java jars (this will carry some restrictions).
But to get the full benefit (including translation of CCSID for text messages) you should install the full MQ Client and always reference the jars from the client install path...

Enjoy
but my program writed by C language must install the client? my program linked libmqic.so and running on linux as3 and is not install the client. use MQCONNX function and directly MQCD fields like connectName... but MQOPEN ended with 2018, the MQCONNX is successful.


AFAIK the C libraries you've linked call the functions installed as part of the client. It's only Java that uses jar files (obviously enough)

Given that 2018 is "HConn error" I don't think the connx worked entirely successfully.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
andy840920
PostPosted: Mon May 21, 2007 6:26 am    Post subject: Reply with quote

Apprentice

Joined: 29 Apr 2007
Posts: 44

Vitor wrote:
andy840920 wrote:
fjb_saper wrote:
You can of course only install the java jars (this will carry some restrictions).
But to get the full benefit (including translation of CCSID for text messages) you should install the full MQ Client and always reference the jars from the client install path...

Enjoy
but my program writed by C language must install the client? my program linked libmqic.so and running on linux as3 and is not install the client. use MQCONNX function and directly MQCD fields like connectName... but MQOPEN ended with 2018, the MQCONNX is successful.


AFAIK the C libraries you've linked call the functions installed as part of the client. It's only Java that uses jar files (obviously enough)

Given that 2018 is "HConn error" I don't think the connx worked entirely successfully.....
but i checked CompCode=MQCC_OK and CReason=MQRC_NONE.

by the way
Quote:
AMQ9541: CCSID supplied for data conversion not supported.
EXPLANATION:
The program ended because, either the source CCSID '819' or the target
CCSID '1381' is not valid, or is not currently supported.

The 819 CCSID is the Solaris codepage.
The 1381 CCSID is the Windows Simplified Chinese codepage.
my mq server installed on windows xp and language enviroment is Simplified Chinese, and create QMGR with CCSID=918, but my mq client and application installed on linux as3. why AMQ9541? if i set CCSID in my program, should execute md.CodedCharSetId = 819?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon May 21, 2007 6:56 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

If the conn's worked in a C program, and the client's not installed on the application machine, then all that's happened is the conn has failed to detect the lack of the client and thrown a false positive. What the open is trying to tell you is that the conn object is incorrectly formed.

OR....

You have (by some bizarre, inexplicable and unsupported method) established a connection and it's gone out of scope due to a programming bug. Install the client, if the problem persists it's a bug.

As to your other problem, it's better etiquite to start a new thread. Having said that, if I understand you correctly you're setting the CCSID in your source program to the CCSID of the target to force conversion. This is not how it works. Don't set the CCSID yourself, and make sure you've got all the conversion tables you need installed on the target server.

If I've not understood correctly, put a full explaination on a new thread & I'll try again.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » must install MQ client ?
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.