home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!swdev.si.com!tillman
- From: tillman@swdev.si.com ("Brian Tillman, Smiths Industries, VAX Support, x8425")
- Newsgroups: comp.os.vms
- Subject: RE: Known Image confusion
- Message-ID: <00960674.03D71A40.27901@swdev.si.com>
- Date: 10 Sep 92 13:29:44 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 35
-
- >$ SET PROCESS/PRIVILEGE=ALL
- >$ WRITE SYS$OUTPUT F$FILE_ATTRIBUTE("DISK:[DIR]MYFILE.EXE","KNOWN")
- >%SYSTEM-W-NOSUCHFILE, no such file
- >\DISK:[DIR]MYFILE.EXE\
- >$ DIRECTORY DISK:[DIR]MYFILE.EXE
- >
- >Directory DISK:[DIR]
- >
- >MYFILE.EXE;1
- >
- >
- >Total of 1 file.
- ..stuff deleted...
- >Now, an INSTALL REPLACE works just fine. The annoying part is that my
- >command procedure which is trying to install such a file tries to use
- >F$FILE_ATTRIBUTE to determine if it should do an ADD or a REPLACE
-
- I know this doesn't answer the question, and I apologize, but it *does* obviate
- the need for an answer. Always do a REPLACE. If there is no known image for
- the file referenced in the REPLACE command, INSTALL converts the replace into a
- CREATE. This way, you don't need to check to see if the file is already known.
-
- That said, now let me suggest an answer to your question. INSTALL is a tad
- peculiar. I suspect that a previous version ;1 of MYFILE was made a known file
- and deleted somehow, then the current version ;1 created. I suspect this
- because INSTALL says "no version obtained for MYFILE". Since the file had been
- deleted, but the entry not removed, INSTALL gave you the messages it did.
-
- -----------------------------+--------------------------------
- Brian Tillman | Internet: tillman@swdev.si.com
- Smiths Industries, Inc. |
- 4141 Eastern Ave., MS129 | Hey, I said this stuff myself.
- Grand Rapids, MI 49518-8727 | My company has no part in it.
- -----------------------------+--------------------------------
-
-