View previous topic :: View next topic
|
Author |
Message |
Jay Villaverde
New User
Joined: 08 Mar 2014 Posts: 27 Location: USA
|
|
|
|
Good day,
I've been using Ipswitch WS_FTP to transfer files to the mainframe with success but it seems that if my file has a carriage return of some sort I only get the first record of the file.
For example, I can see a period at the end of the file I'm currently working with so I'm assuming that's some sort of carriage return or line feed indicator?
I use the FTP Commands of WS_FTP to designate my RECFM= and LRECL=, so is there some other command I can use to make it transfer all the rows and not just the first one?
Thank you
Jay |
|
Back to top |
|
|
Jay Villaverde
New User
Joined: 08 Mar 2014 Posts: 27 Location: USA
|
|
|
|
Wanted to add that if I transfer the file to the mainframe via PC3270 it creates more rows than just the first one. Reason I wanted to use WS_FTP is because this particular file is quite large for PC3270 so FTP would be more efficient and quicker. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
How is the file created on the remote?
Look at the "period" in hex to see what character it really is. Could be a period or something else.
Often files are created with embedded control characters and these may or may not cause problems. |
|
Back to top |
|
|
Jay Villaverde
New User
Joined: 08 Mar 2014 Posts: 27 Location: USA
|
|
|
|
Thanks for the welcome and quick response.
I'm creating the file on the remote side as a fixed length text file if that's what you're asking.
As for the period, it's shown in hex as:
2
5 |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
What is the hex value of the "carriage return"? Are you sure it is end-of-line and not end-of-file? |
|
Back to top |
|
|
Jay Villaverde
New User
Joined: 08 Mar 2014 Posts: 27 Location: USA
|
|
|
|
Should be end-of-line as when I use PC3270 for the transfer all rows have the hex of:
2
5
So I wouldn't think that would be end-of-file.
Thanks |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
X'25' is LF (line feed?) according to my old "Yellow Booklet". It shows up as a space in Reflection. |
|
Back to top |
|
|
|