Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Question on using WS_FTP to transfer files to mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Jay Villaverde

New User


Joined: 08 Mar 2014
Posts: 27
Location: USA

PostPosted: Mon Mar 10, 2014 6:51 pm    Post subject: Question on using WS_FTP to transfer files to mainframe
Reply with quote

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
View user's profile Send private message

Jay Villaverde

New User


Joined: 08 Mar 2014
Posts: 27
Location: USA

PostPosted: Mon Mar 10, 2014 7:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Mar 10, 2014 7:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Jay Villaverde

New User


Joined: 08 Mar 2014
Posts: 27
Location: USA

PostPosted: Mon Mar 10, 2014 7:37 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1777
Location: Bloomington, IL

PostPosted: Mon Mar 10, 2014 7:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Jay Villaverde

New User


Joined: 08 Mar 2014
Posts: 27
Location: USA

PostPosted: Mon Mar 10, 2014 7:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon Mar 10, 2014 11:57 pm    Post subject:
Reply with quote

X'25' is LF (line feed?) according to my old "Yellow Booklet". It shows up as a space in Reflection.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us