home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19672 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.3 KB

  1. Path: sparky!uunet!think.com!ames!agate!ucbvax!HCACAD.HOLYCROSS.EDU!JBP
  2. From: JBP@HCACAD.HOLYCROSS.EDU (Father Pomeroy)
  3. Newsgroups: comp.os.vms
  4. Subject: How to merge two sysuaf.dat files??
  5. Message-ID: <01GSKVJUMIOI9I4IMI@HCACAD.HOLYCROSS.EDU>
  6. Date: 21 Dec 92 17:54:08 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 25
  11.  
  12.  
  13.  As usual, I believe I saw this but did not keep it.
  14.  We have two SYSUAF.DAT files (which we shouldn't, I know), which I now wish
  15. to merge into one. the problem is that some of the same entries exist in
  16. both, but with variations. VMS SORT will eliminate dups but there is no
  17. way to determine which of the two to keep ( we will always wish to keep the
  18. entry from the shorter file). 
  19.  The only thing I can think of is to write a program which will read the
  20. shorter file and WRITE into the longer file, checking first for  the existence
  21. of the same key, in which case re-write from the new record. I feel very
  22. insecure about this, since it IS the UAF with which I am playing (I would,
  23. of course, do it in a work area first, but still??).
  24.  Suggestions appreciated.
  25.  Will summarize to the net if it seems worthwhile.
  26.  Thanks,
  27.  Joe
  28.  
  29.  Joseph B. Pomeroy, S.J.
  30.  VAX Sys. Mgr.
  31.  Holy Cross College
  32.  Worcester, Mass. 01610
  33.  
  34.  JBP@HLYCROSS   on BITNET
  35.  JBP@HCACAD.HOLYCROSS.EDU   on Internet
  36.  
  37.