View previous topic :: View next topic |
Author |
Message |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Thu Feb 24, 2005 10:20 am Post subject: CR/LF option in the advance settings, while transferring a f |
|
|
Hi Forum,
In the ISPF option 6, I am trying to transfer a file from mainframe to my PC. The file has ASCII & Binary data.
If I go into SETUP on the transfer panel, there is an option available CR/LF Processing. I can select one of these 2:
1) ASCII file CR/LF
2) Binary file CR/LF
Can someone please help me with the meaning of these options. _________________ Regards,
Programmer |
|
Back to top |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Thu Feb 24, 2005 10:22 am Post subject: |
|
|
Sorry, I can even select both of these options or none of these options. The default selects ASCII file CR/LF. _________________ Regards,
Programmer |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Thu Feb 24, 2005 10:44 am Post subject: |
|
|
Thanks Kolusu,
I will be using the Binary transfer method. From the linked document, I understand that for Binary option, selecting CR/LF processing will Remove the CRLF (X'0D0A') from the end of each record. (Or is it the other way round ?)
How does it impact the file ? My file is further used as a input to a machine, which I assume would require exact data.
I basically want my file to go untouched (without any explicit changes). Which option shall I specify  _________________ Regards,
Programmer |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Feb 24, 2005 10:54 am Post subject: |
|
|
Programmer1,
It depends on whether you are sending(From PC to TSO host) or Receiving( From TSO to PC)
If you are transferring the data from the PC to TSO in binary mode , you don't need the CRLF, So they are removed
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Thu Feb 24, 2005 11:04 am Post subject: |
|
|
Thanks Kolusu,
Because I am sending this data to a third party, I got confused in the terms "sending and receiving".
Thanks for your time _________________ Regards,
Programmer |
|
Back to top |
|
 |
|
|