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
 
Trying to copy a flat file to another two flat files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
AnuB
Currently Banned

New User


Joined: 29 Aug 2005
Posts: 35

PostPosted: Mon Aug 29, 2005 7:19 am    Post subject: Trying to copy a flat file to another two flat files
Reply with quote

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

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Aug 29, 2005 4:03 pm    Post subject: Re: Flat Files
Reply with quote

How are you doing that....

And testing for what....checking whether data got copid properly...???

Regards,

Priyesh.
Back to top
View user's profile Send private message
AnuB
Currently Banned

New User


Joined: 29 Aug 2005
Posts: 35

PostPosted: Tue Aug 30, 2005 12:10 am    Post subject: Re:Flat Files
Reply with quote

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

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Aug 30, 2005 9:13 am    Post subject: Re: Flat Files
Reply with quote

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

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Tue Aug 30, 2005 9:23 am    Post subject:
Reply with quote

record length is another factor to be considered here.
Back to top
View user's profile Send private message
ajayvamsi
Currently Banned

New User


Joined: 21 Jul 2005
Posts: 56
Location: Hyderabad

PostPosted: Thu Sep 01, 2005 1:37 am    Post subject:
Reply with quote

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

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Thu Sep 01, 2005 2:57 am    Post subject: Hi
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 5 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am

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