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