Posted by: Colin Steele
Search400.com member David shares his blunder:
Years ago, in my first AS/400 job, the company I worked for had only one box to use for both production and development. (I cringe when I think about that, now.) When we were developing, we would just copy the production data into our personal libraries so that we could do our testing.
So, the pattern went:
- Copy production data to personal library (using CPYF)
- Run my program over the data in my personal library
- Inspect the results and make program changes accordingly
- Clear the file in my personal library (CLRPFM)
- Go back to the first step and start again
As you can probably already imagine, during one testing cycle, I accidentally cleared the PRODUCTION table instead of the copy in my library. When my index finger was a millimeter away from the Enter key, I realized what I was about to do. But, it was too late to stop.Within a couple minutes, the end-users were calling me, asking, “What happened to my pricing quotes?”I turned to my manager (who sat in a desk directly behind me), and I told him what just happened. He smiled, he chucked, and he showed me where the backup tapes were stored.We restored the table’s data from the previous night, but that day’s data was gone.I don’t think we ever told the users why one day’s worth of pricing quotes needed to be re-entered.
Do you have a blunder to share?