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 » WebSphere Message Broker (ACE) Support » Unix vs Windows Line Feed

Post new topic  Reply to topic
 Unix vs Windows Line Feed « View previous topic :: View next topic » 
Author Message
sandman147
PostPosted: Thu Feb 27, 2014 2:48 pm    Post subject: Unix vs Windows Line Feed Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

Output on Windows

1abcde
2abcde
2fghijk
2lmnop
3abcde
3fghijk
4abcde

Output on Unix

1abcde 2abcde
2fghijk
2lmnop 3abcde
3fghijk 4abcde

--Causing it to drop records when FTP'd to mainframe--

where
1abcde is fixed length, (Propagated as individual message to File Output)

2abcde
2fghijk
2lmnop

is Tagged delimited with <cr><lf>, (Propagated as individual message to File Output)

3abcde
3fghijk

is Tagged delimited with <cr><lf>, (Propagated as individual message to File Output)

4abcde is fixed length, (Propagated as individual message to File Output)

File Output properties: Record is Delimited Data, Delimiter: Broker System Line End, Delimiter Type: Postfix

How can the Output Files on Unix be displayed the same as Windows
Back to top
View user's profile Send private message
santhoshramesh
PostPosted: Thu Feb 27, 2014 11:08 pm    Post subject: Reply with quote

Novice

Joined: 26 Feb 2014
Posts: 17

Try 0a in Delimiter instead of Broker System Line End or Append <CR><LF> in the code at the end of propagation of individual message to output file.
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Fri Feb 28, 2014 1:14 am    Post subject: Re: Unix vs Windows Line Feed Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

sandman147 wrote:
How can the Output Files on Unix be displayed the same as Windows


Wait, help me understand this.

First of all, you're not talking about display, but about parsing, right? Because display is irrelevant. It's about whether the target application is able to parse the files you produce.

Second, are you saying that you need to produce an output format that contains CR as well as CRLF, in which CRLF is the separator but fields may contain CR? Isn't this simply a matter of writing an appropriate messageSet (TDS, CWF, etc)?
_________________
A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine.
Back to top
View user's profile Send private message Send e-mail
sandman147
PostPosted: Fri Feb 28, 2014 8:13 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

It was an issue related to ccsid conversion. My bad. It was not a display issue.
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 » WebSphere Message Broker (ACE) Support » Unix vs Windows Line Feed
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.