home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / 7964 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.2 KB

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