Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Data was truncated while FTP'ing?

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

New User


Joined: 16 Jan 2006
Posts: 9

PostPosted: Tue Jun 06, 2006 1:42 pm    Post subject: Data was truncated while FTP'ing?
Reply with quote

Hi,

I found out why data was being truncated and the reason was because my file is a very big line with data. Is there an option in FTP where I can specify that I want data to be cut every 200 bytes and write lots of lines instead of only one?

FYI. I was uploading using FTP script, not using option 6 as it was very slow since the host i connected to is very far away (Houston) while i am here in Bangkok.

Thanks,
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 06, 2006 7:34 pm    Post subject: Re: Data was truncated while FTP'ing?
Reply with quote

No, not that I've seen documented.

I see that you have two options here:

1. Re-format the data to your required specifications on the server before invoking the FTP process to the mainframe.

2. FTP the data to a dataset allocated as RECFM=FB LRECL=200 in binary (image) mode. The ASCII data should wrap into the 200-byte records. Then, you'll need to write a program to un-wrap the records as required and translate them from ASCII back into EBCDIC.
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us