LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2011, 06:58 PM   #1
catch93
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Exclamation MQ LINUX vs MQ Unix Conversion Differences - LINUX Conversion Issues


We are currently migrating from UNIX to LINUX
We are using MQ channel to transmit messages from LINUX to MF for processing

We have isolated that the issue is a transmission of the message sent from a remote queue in LINUX to a local queue in MF
This we prove by running our application that Puts messages in the queue and viewing the queue in the LOCAL queue in MF
We encountered two situations
1. When two messages were sent one of the message goes to the dead letter queue
2. Some messages are losing a byte when transmitted to the MF Local Queue

The MQ support group mentioned that there is a conversion happening during the transmission that is set. They have changed the character set which enabled all messages to be transmitted but we are still seeing corruption on the message in the MF

Our messages were written and we used the iconv function before putting the message in the MQ Remote queue in LINUX

The messages do not look the same when it hits the MF LOCAL queue

This set-up is also set-up in UNIX and the same messages does not behave the same. No corruption is seen

What things do we look at to ccmpare UNIX and LINUX set-ups on our MQ channel that can achieve successful message transmission. Is that defined by the character set in LINUX MQ set-ups ???
 
Old 11-03-2011, 08:54 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Assuming MF = mainframe (IBM style), then if the MF is running an IBM OS then it uses EBCDIC and UNIX & Linux use ASCII.
I would check at which end translation is taking place; maybe you've accidentally set it to translate twice, once at each end?
Are the cfgs on Unix & Linux exactly the same?
 
Old 11-03-2011, 08:57 PM   #3
catch93
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Assuming MF = mainframe (IBM style), then if the MF is running an IBM OS then it uses EBCDIC and UNIX & Linux use ASCII.
I would check at which end translation is taking place; maybe you've accidentally set it to translate twice, once at each end?
Are the cfgs on Unix & Linux exactly the same?
I am asking the MQ support group that set-up the MQ channel to double check the cfgs???

Since I have international data coming in i use the iconv utility in LINUX to translit and used the iso-815 to handle the double byte characters.. do I ask my MQ support to not convert to EBCIDIC in MF in the receiving queue????

I am struggling since my MQ support is not doing some work on what conversions need to happen..

Hope you can assist
 
Old 11-03-2011, 09:08 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Never used MQ & very rarely communicated with an IBM MF; I just know a little bit about the potential issues there.
I would Linux and Unix to have virtually identical cfgs/setups. Check also any pre-processing which may happen on the working Unix system.
 
Old 11-03-2011, 09:10 PM   #5
catch93
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Never used MQ & very rarely communicated with an IBM MF; I just know a little bit about the potential issues there.
I would Linux and Unix to have virtually identical cfgs/setups. Check also any pre-processing which may happen on the working Unix system.
thanks chris... would look in that direction
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acronis Image -> VM Conversion -> boot issues mannpt Linux - Server 9 07-30-2009 04:29 PM
Unix Time conversion dnoy Linux - Newbie 9 02-03-2008 10:36 PM
SoX File Conversion Issues pikk67 Linux - General 0 10-03-2006 07:38 AM
DOS -> UNIX file conversion issue inspleak Linux - Newbie 5 07-04-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration