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
 

 

FTP-->bytes transfered not matching output file size

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

New User


Joined: 27 Dec 2005
Posts: 58

PostPosted: Mon Sep 24, 2007 4:32 pm    Post subject: FTP-->bytes transfered not matching output file size
Reply with quote

We have an ftp related requirement wherein extracts from VSAM prod files are first written to flat files and then sent across over ftp to a non mainframe system.

I had stacked about 12 PUT statements for 12 different files.The output files being .TXT files.No zipping was involved.

The ftp log gives the bytes transfered but it does not seem to be the same as the output files size in the LIST of the ftp.

Does this necessarily mean we have lost data or is it possible tht no data is lost.There were absolutely no errors in the ftplog.
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Sep 24, 2007 5:03 pm    Post subject:
Reply with quote

Hi morpheus007,

Long back I ftp the files from one region to another region & target region contain those file bt less byte length & After Ftp those file I saw that target file length is as it was previosly that cause the data loss .

Hope it will helpful
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 Sep 24, 2007 9:03 pm    Post subject:
Reply with quote

Hello,

Quote:
Does this necessarily mean we have lost data or is it possible tht no data is lost
It is possible that no data was lost.

If you send the same files from the mainframe to the target system multiple times, is the file size on the receiving system the same or does it change? If the size stays the same, you should have no problem. If the size changes, i suggest you need to understand what is the difference in the files received.
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: Mon Sep 24, 2007 10:23 pm    Post subject: Reply to: FTP-->bytes transfered not matching output file
Reply with quote

Comparing two sets of data across disparate systems using something so arbitrary as number of bytes is pointless. The data needs to be validated by a record count, a transaction count, or by the presence of a specific header/trailer and, possibly, regularly spaced batch totals.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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