[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::hsm

Title:File Shelving
Moderator:COOKIE::HOLSINGER
Created:Mon Mar 15 1993
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:346
Total number of notes:1204

331.0. "RECOVER FILE FROM CACHE" by EVTAI1::POUDRET () Thu Apr 03 1997 11:59

  
  		HELLO,
  
  
  
  
  	How can i recover files from cache if the on line files are deleted ?
  
  
  
  	Ex: After  Shelving a file (for example .txt), and deleting the on line 
  file, I use the command SMU LOCATE and I try to copy the file from the cache.
  After that , it's impossible to see something (the file is empty). The record 
  format is undefined in the cache.
  
  
  
  	Any ideas.....
  
  
  	Thank's REGIS......
T.RTitleUserPersonal
Name
DateLines
331.1COOKIE::MCALLISTERThu Apr 03 1997 13:0634
What version of HSM are you using?  Prior to V2.1, EOF on the cache
files was not set correctly which prevented cache files from being
viewed (typed, etc.).  This problem was most likely introduced in
V2.0/V2.0A.  This problem did not interfere with unshelving.  Here
is a sample DUMP of one of these cache files:

Dump of file DKB500:[HSM_CACHE]AA.A$8447907406;1 on  8-OCT-1996 16:06:10.55
File ID (77,1,0)   End of file block 0 / Allocated 3

                             File Header

Header area
    Identification area offset:           40
    Map area offset:                      100
    Access control area offset:           128
    Reserved area offset:                 255
    Extension segment number:             0
    Structure level and version:          2, 1
    File identification:                  (77,1,0)
    Extension file identification:        (0,0,0)
    VAX-11 RMS attributes
        Record type:                      Undefined
        File organization:                Sequential
        Record attributes:                <none specified>
        Record size:                      0
        Highest block:                    3
-->     End of file block:                0
-->     End of file byte:                 0

If this is what you are seeing, you might want to try a SET FILE/END
on the cache file and retry your copy.

Barb
331.2Wait for ResultEVTAI1::POUDRETFri Apr 04 1997 04:2813
  
  
  	I don't remember the version of HSM, but that's right there is no 
  Problem with unshelving. I will ask to the customer to try "Set file/end", but 
  i can't give you the result before 14-apr-97, because he is to DECUS and after 
  that in Holidays.
  
  
  	Thank's for your quick answer.
  
  
  
  		Regis..;
331.3V2.1 ok, But VBNPASTEOFEVTAI1::POUDRETWed Apr 16 1997 06:3715
331.4What's about SMU LOCATE and restore form tape?ATZIS1::KARTNER_MHOUSTON, we have a problemWed Apr 16 1997 10:337
    Hi!
    
    What's about SMU LOCATE and restore form the archives (tape) ?
    This should work in any case
    
    								bye 
    								Michael
331.5it's works butEVTAI1::POUDRETThu Apr 17 1997 05:5011