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 IndexGeneral IBM MQ SupportMFT V8 - CRLF vs LF

Post new topicReply to topic
MFT V8 - CRLF vs LF View previous topic :: View next topic
Author Message
scravr
PostPosted: Mon Feb 11, 2019 7:16 am Post subject: MFT V8 - CRLF vs LF Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 365
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
View user's profile Send private message Send e-mail MSN Messenger
gbaddeley
PostPosted: Mon Feb 11, 2019 3:07 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1937
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
View user's profile Send private message
scravr
PostPosted: Tue Feb 12, 2019 6:53 am Post subject: MFT V8 - CRLF vs LF Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 365
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
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Tue Feb 12, 2019 6:58 am Post subject: Re: MFT V8 - CRLF vs LF Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25554
Location: Ohio, 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
View user's profile Send private message
bruce2359
PostPosted: Tue Feb 12, 2019 11:22 am Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 8343
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.
_________________
There are two types of people in this world:
1) Those that can extrapolate from incomplete data
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 12, 2019 9:28 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19922
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
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Wed Feb 13, 2019 2:57 pm Post subject: Re: MFT V8 - CRLF vs LF Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1937
Location: Melbourne, Australia

scravr wrote:
I have files traveling multiple OS. Eventually need to transfer from UNIX to LINUX and replace CRLF to LF.

OK. MFT text format file transfers do automatic CRLF / LF conversion based on native text file format for the OS, see https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.ref.adm.doc/text_transfers.htm
fteCreateTransfer -t text -dle LF can be used to override this behavior.
Is it not working for you?
_________________
Glenn
Back to top
View user's profile Send private message
scravr
PostPosted: Wed Mar 06, 2019 10:38 am Post subject: MFT V8 - CRLF vs LF Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 365
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
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportMFT V8 - CRLF vs LF
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.