Author |
Message
|
scravr |
Posted: Mon Feb 11, 2019 7:16 am Post subject: MFT V8 - CRLF vs LF |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
HI MFT guys,
1. Any one knows why fteCreateTransfer (with: -t text -dle LF) and fteCreateMonitor does not show -dle LF on MQExplorer ?
2. When running transfer with that monitor on WINDOWS, files are transfer from CRLF to LF. This is transferring files between 2 windows dir's. All is fine.
BUT
When running monitor to transfer files from Linux to SunOS, files are transfer as is with CRLF insted of transfer to LF !!!!
Any ideas?
Thanks,
MA |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Feb 11, 2019 3:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
CR LF on Linux? That doesn't really make sense.
Is it creating a text or binary type transfer? _________________ Glenn |
|
Back to top |
|
 |
scravr |
Posted: Tue Feb 12, 2019 6:53 am Post subject: MFT V8 - CRLF vs LF |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
I have files traveling multiple OS. Eventually need to transfer from UNIX to LINUX and replace CRLF to LF.
1. Why on mq-explorer I do not see -dle LF?
2. What do I need to put on create-transfer?
3. I have 2 exits SourceTransferStartExit and SourceTransferEndExit
with DB calls open+close connection on each. Is this Agent transfer is 1 single transaction or 2? Do I need to open+close on each exit , open at Start and close at End?
MA |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 12, 2019 6:58 am Post subject: Re: MFT V8 - CRLF vs LF |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
scravr wrote: |
I have files traveling multiple OS. Eventually need to transfer from UNIX to LINUX and replace CRLF to LF. |
Why? Linux is just another Unix and has the same end of line contentions. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Feb 12, 2019 11:22 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
CR LF means "Carriage Return, Line Feed" - it's a DOS/Windows thing.
In the olden days, some devices required a Carriage Return, and some devices required a Line Feed to get a new line, so Microsoft decided to just make a new-line have both characters, so that they would output correctly on all devices. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 12, 2019 9:28 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
This looks to me much like a transformation from something like a UTF-8 file to a file with CCSID 819... Note that even on Unix/Linux a UTF-8 file uses CRLF...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Feb 13, 2019 2:57 pm Post subject: Re: MFT V8 - CRLF vs LF |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
|
Back to top |
|
 |
scravr |
Posted: Wed Mar 06, 2019 10:38 am Post subject: MFT V8 - CRLF vs LF |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
It does not work.
I had to add this and it works fine....
-sce "windows-1252" -t text -dle LF |
|
Back to top |
|
 |
|