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 » MQLSX + MQCLIENT(NT) +MQSERVER(OS/390)

Post new topic  Reply to topic
 MQLSX + MQCLIENT(NT) +MQSERVER(OS/390) « View previous topic :: View next topic » 
Author Message
Carlos Pantín
PostPosted: Thu Jun 06, 2002 1:00 am    Post subject: MQLSX + MQCLIENT(NT) +MQSERVER(OS/390) Reply with quote

Newbie

Joined: 04 Jun 2002
Posts: 5

Hi all gurus.

We have a Lotus Domino app on a NT machine using MQLSX (lotus script extension) annd a MQClient to connect to an MQ Server on OS2 that connects to an MQ Server on a OS390. The application works fine since 1998.

We need to shut the OS2 server off. We want to connect directly from the MQLSX + MQ Client NT to the OS/390 MQ server without modifiyng the OS/390 source code. We have made similar changes migrating some Java applications on AIX changing the AIX MQ server to the OS/390 one. We only needed to change Character set of the message and everything worked fine. The Character set conversion was made by the java client.

The problem we have with MQLSX is that we must convert the message in the client side to avoid modifiyng the source code on the OS/390 server. We use the character set properties of the message and we use writestring and readstring methods to store the Lotus data on the MQ Messase. The fact is that we see the data traveling for the network ( packet sniffer) and the contents seems to be fine (EBCDIC DATA), but in the server we don't see anything. We have a trigger ( depth 1) on the incomming queue ant the associated transaction is never raised.

We compare the packets of the java client and the Lotus one on the network and I see that the message length of the MQ message is encoded differently : one is big endian ant the other is little endian. The message we send is only a string without numbers (needs no encoding for the data), and we cannot modify the encoding for the message header.

Another information:

MQSERVER variable properly set. MQCCSID set to 850 (Latin). Character code conversion for the message 284 (Spanish)

Any clues, ideas, suggestions, ...

Thank you!!

Carlos
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jun 06, 2002 3:29 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Why do you need to modify for code conversion, the OS/2 to mainframe
was going from ASCII to EBCDIC ???
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Carlos Pantín
PostPosted: Thu Jun 06, 2002 5:35 am    Post subject: EBCDIC - ASCII Reply with quote

Newbie

Joined: 04 Jun 2002
Posts: 5

The OS/2 has 850 code page (latin) and the OS/390 has 284 code page (EBCDIC - Spanish), and the conversion is made between both MQ SERVERS. The NT client and the OS/2 server share the 850 code page.

When I try to connect directly from the NT client to the OS/390, on the client side we use the 850 code page and 284 on the server, so we must make the conversion ( data and headers).

When we use the OS/2 server we don't need any conversion because the server and the client uses the same codepage and encoding. I think MQ servers change encoding and codepage when speking between them unlike MQservers and MQclients.

When I said about not modifiying the source code was because we can't use the MQGMO_CONVERT on the MQGET method on the mainframe.

Carlos
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jun 06, 2002 6:23 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

I forgot about the fact the client channels dont the convert option like sender channels do.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Carlos Pantín
PostPosted: Thu Jun 06, 2002 6:36 am    Post subject: Reply with quote

Newbie

Joined: 04 Jun 2002
Posts: 5

I really didn't know it, I only supposed it.

I have been talking with IBM techs ( we outsourced the Mainframe service) and they told me about wrong header errors detected. This confirm my suspect about encoding issues.

Carlos
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jun 06, 2002 6:50 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

or just replace the os/2 server with nt mq server
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Carlos Pantín
PostPosted: Thu Jun 06, 2002 6:59 am    Post subject: Reply with quote

Newbie

Joined: 04 Jun 2002
Posts: 5

Yes, I see that's the only way to do it.

But our java apps, connecting directly to the mainframe, are they working fine because the UltraSparc Sun processor (where java is run) put the integers in memory like the mainframe does? . I'm sure that If I run the java code on NT it won't work at all.

Thanx

Carlos
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 » MQLSX + MQCLIENT(NT) +MQSERVER(OS/390)
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.