Carriage Return and Line Feed for transfers between Unix to Windows

Document ID:  TEC1131273
Last Modified Date:  06/06/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA XCOM Data Transport

Releases

  • CA XCOM Data Transport:Release:11.6
  • CA XCOM Data Transport:Release:12.0

Components

  • CA XCOM DATA TRANSPORT GATEWAY FOR WINDOWS:XCGWIN
  • CA XCOM DATA TRANSPORT GATEWAY FOR SOLARIS/UNIX:XCGSOL
  • CA XCOM DATA TRANSPORT GATEWAY FOR PC LINUX:XCGX86
  • CA XCOM Data Transport for Linux PC:XCLX86
  • CA XCOM Data Transport for Linux zSeries:XCLX90
  • CA XCOM Data Transport for LAN Server NetWare:XCNETW
  • CA XCOM DATA TRANSPORT MGMNT CENTER FOR WINDOWS:XCMWIN
  • CA XCOM DATA TRANSPORT MGMNT CENTER FOR PC LINUX:XCMX86
  • CA XCOM Data Transport for HP/UX:XCUHP9
  • XCOM DATA TRAN FOR HP-UX IA64:XCUHPI
  • XCOM WIND 95:XCWN95
  • CA XCOM Data Transport for SINIX for TRANSIT:XCUSIN
  • CA XCOM Data Transport for Sun Solaris Operating System:XCUSOL
  • XCOM FOR SUNOS SUNLINK:XCUSUN
Introduction:

What happens with the End-of-line-character(s) during a XCOM-transfer between Windows and Unix?

Instructions:

On Windows the End-of-line is indicated by the two characters: [CR] (Carriage Return - x'0D') and [LF] (Line Feed - x'0A'). On Unix-Flavours the End-of-Line is indicated by [LF] (Line Feed - x'0A') only.

When you transfer a file from Unix to Windows and use CODE_FLAG=ASCII or CODE_FLAG=UTF8 then the [LF]-Line Feed Characters are translated into [CR][LF] Carriage Return-Line Feed by Windows, NOT by XCOM!. Only if you use CODE_FLAG=BINARY the transfer is done byte by byte and the [LF] are not touched by Windows.

When you transfer a file from Windows to Unix and use CODE_FLAG=ASCII or CODE_FLAG=UTF8 then the [CR][LF]-Carriage Return-Line Feed Characters are translated into [LF] Line Feed by the Unix Operating System, NOT by XCOM!. Only if you use CODE_FLAG=BINARY the transfer is done byte by byte and the [CR][LF] is not touched by Unix.

 

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required

connecting

We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1].agentProfile.name}} has ended.
    Thank you for your interest in CA.


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing