home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / vms / 14863 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  2.0 KB

  1. 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
  2. From: tillman@swdev.si.com ("Brian Tillman, Smiths Industries, VAX Support, x8425")
  3. Newsgroups: comp.os.vms
  4. Subject: RE: Known Image confusion
  5. Message-ID: <00960674.03D71A40.27901@swdev.si.com>
  6. Date: 10 Sep 92 13:29:44 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 35
  11.  
  12. >$ SET PROCESS/PRIVILEGE=ALL
  13. >$ WRITE SYS$OUTPUT F$FILE_ATTRIBUTE("DISK:[DIR]MYFILE.EXE","KNOWN")
  14. >%SYSTEM-W-NOSUCHFILE, no such file
  15. >\DISK:[DIR]MYFILE.EXE\
  16. >$ DIRECTORY DISK:[DIR]MYFILE.EXE
  17. >
  18. >Directory DISK:[DIR]
  19. >
  20. >MYFILE.EXE;1
  21. >
  22. >
  23. >Total of 1 file.
  24. ..stuff deleted...
  25. >Now, an INSTALL REPLACE works just fine.  The annoying part is that my
  26. >command procedure which is trying to install such a file tries to use
  27. >F$FILE_ATTRIBUTE to determine if it should do an ADD or a REPLACE
  28.  
  29. I know this doesn't answer the question, and I apologize, but it *does* obviate 
  30. the need for an answer.  Always do a REPLACE.  If there is no known image for 
  31. the file referenced in the REPLACE command, INSTALL converts the replace into a 
  32. CREATE.  This way, you don't need to check to see if the file is already known.
  33.  
  34. That said, now let me suggest an answer to your question.  INSTALL is a tad 
  35. peculiar.  I suspect that a previous version ;1 of MYFILE was made a known file 
  36. and deleted somehow, then the current version ;1 created.  I suspect this 
  37. because INSTALL says "no version obtained for MYFILE".  Since the file had been 
  38. deleted, but the entry not removed, INSTALL gave you the messages it did.
  39.  
  40. -----------------------------+--------------------------------
  41.  Brian Tillman               | Internet: tillman@swdev.si.com
  42.  Smiths Industries, Inc.     |
  43.  4141 Eastern Ave., MS129    | Hey, I said this stuff myself.
  44.  Grand Rapids, MI 49518-8727 | My company has no part in it.
  45. -----------------------------+--------------------------------
  46.  
  47.