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 File Transfer Edition » File Transfer as text (from mainframe to unix)removes spaces

Post new topic  Reply to topic
 File Transfer as text (from mainframe to unix)removes spaces « View previous topic :: View next topic » 
Author Message
kimmyj
PostPosted: Mon Aug 01, 2011 6:14 pm    Post subject: File Transfer as text (from mainframe to unix)removes spaces Reply with quote

Novice

Joined: 26 Jun 2003
Posts: 19
Location: UK

Hi all

Facing a curious problem when doing a file transfer from the mainframe to a unix box. When we set the type=text then the spaces in the message get removed.

When we set the type=binary, this is preserved (but this doesn't fit our use case).

Just wondering if setting the source or destination encoding will fix this? Or if I need to raise a PMR. I understand type=text will do some conversion (but it should retain the white space - surely)?


Cheers
Kim
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 02, 2011 4:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

switch to SFTP.

FTP mode ascii (= text) will remove/convert *line endings*. It should not be altering whitespace between line endings. Unless those aren't actually white space, but are instead characters that get converted to things that look like line endings on the unix side.

encoding is usually for numbers, and coded character set id is usually for characters. I don't know if MQFTE uses that notion, however.
Back to top
View user's profile Send private message
kimmyj
PostPosted: Tue Aug 02, 2011 3:03 pm    Post subject: Reply with quote

Novice

Joined: 26 Jun 2003
Posts: 19
Location: UK

Sorry - I should have been more clear - we are doing this transfer from an WMQFTE Agent on the mainframe to a WMQFTE Agent on a distributed platform. Using type=text.
SFTP/FTP is not in the picture.

Cheers
Back to top
View user's profile Send private message
kimmyj
PostPosted: Tue Oct 18, 2011 5:19 pm    Post subject: Reply with quote

Novice

Joined: 26 Jun 2003
Posts: 19
Location: UK

I heard it is going to be an option in the latest fix pack (7.0.1.5).
So will have to wait for this.
It's only the trailing white space that is the issue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 18, 2011 8:06 pm    Post subject: Reply with quote

Grand High Poobah

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

kimmyj wrote:
I heard it is going to be an option in the latest fix pack (7.0.1.5).
So will have to wait for this.
It's only the trailing white space that is the issue.

AFAIK FTP text mode will also drop trailing spaces...
What is your problem? You are not dealing with SAP IDOCs are you?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » File Transfer as text (from mainframe to unix)removes spaces
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.