For Programmers: Free Programming Magazines  


Home > Archive > Cobol > April 2005 > Re: Windows/Macro Language Info?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Windows/Macro Language Info?
Richard

2005-04-01, 3:55 am

> You can easily imagine a situation where due to some glitch or other
> a data file had some of its sectors overwritten. A randomly
> accessed Product File, for example, could be damaged without
> anyone knowing about it since the damaged sectors were not
> accessed by the application


Let us see how that would work:

You open the file to be backed up
You open output the backup file
You read/write until a '9/41' or worse

The data file is corrupt, the backup file is overwritten and only has
the records up to the failure.

Well done.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com