home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!DVaz
- From: DVaz@cup.portal.com (David D Vazquez)
- Newsgroups: comp.databases
- Subject: Re: Validating data imported from text files.
- Message-ID: <69880@cup.portal.com>
- Date: Thu, 19 Nov 92 20:58:47 PST
- Organization: The Portal System (TM)
- Distribution: usa
- References: <18NOV199217192059@stars.gsfc.nasa.gov>
- Lines: 16
-
- >I was just told something startling. In an E-mail message from Myron China
- ><mryo@ind_maroon.gwl.com>, I was told
-
- > problem with flat file xfers is verifying successful completions of both
- > the dump and the import. oracle products, for instance, always signal
- > a 0 return code whether or not it had a problem. so you end up spooling
- > log files and checking them for errors yourself. we also check file
- > record layouts for validity before anything goes through.
-
- Hmmm. I've worked with Oracle's SQL*Loader utility. It can write a log file
- of everything (if I remember correctly) as well as a log file with only the
- erroneous data in it. If it returns 0 regaurdless of the outcome, you can
- always check for the existence of the error log file by running the loader
- and whatever construct you use to find the file from a script or batch file.
-
- -Dave. "DVaz@cup.portal.com"
-