|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Unix vs Windows Line Feed |
« View previous topic :: View next topic » |
Author |
Message
|
sandman147 |
Posted: Thu Feb 27, 2014 2:48 pm Post subject: Unix vs Windows Line Feed |
|
|
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 |
|
 |
santhoshramesh |
Posted: Thu Feb 27, 2014 11:08 pm Post subject: |
|
|
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 |
|
 |
Gralgrathor |
Posted: Fri Feb 28, 2014 1:14 am Post subject: Re: Unix vs Windows Line Feed |
|
|
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 |
|
 |
sandman147 |
Posted: Fri Feb 28, 2014 8:13 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|