View previous topic :: View next topic
|
Author |
Message |
AnuB Currently Banned New User
Joined: 29 Aug 2005 Posts: 33
|
|
|
|
If we r trying to copy a flat file to another two flat files what precautions are to be taken there or what testing will we do there ?
Regards,
Anu. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
How are you doing that....
And testing for what....checking whether data got copid properly...???
Regards,
Priyesh. |
|
Back to top |
|
|
AnuB Currently Banned New User
Joined: 29 Aug 2005 Posts: 33
|
|
|
|
Hi Priyesh,
Thanks.
Yes, i do want to check whether the data is properly copied or not also
pls let me know what steps are to be followed while copying from one flat file to multiple flat files to make sure that the data will be copied as per the requirement & the output is perfect.
Regards,
Anu. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Anu,
There can be several ways to get the data checked.
One of the way is putting HEARDER & TRAILER records in I/P File.
After copying just check for HEADER & TRAILER records in O/P Files.
Regards,
Priyesh. |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
record length is another factor to be considered here. |
|
Back to top |
|
|
ajayvamsi
New User
Joined: 21 Jul 2005 Posts: 56 Location: Hyderabad
|
|
|
|
Hi Anu,
U can verify just by placing a counter while copying the files
suppose there r 200 records then ur output should be 202 (including Header & Trailer)..Thanks ...!! Hope this is clear for u..!! |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
u could compare comparex or the superc utility to compare both the files to see if the entire file is copied and if there are any differences between the two files. |
|
Back to top |
|
|
|