[net.micro.hp] HP 3000 ASAVE Format

chris@cooper.UUCP (chris) (10/02/86)

Hi,
	Does anyone know what the ASAVE format is?
I've got an HP3000 tape that we're supposed to read
but I'ld like to know what the format is.  I tried
to read it with all the utilities on an HP1000 RTE-A
system but the manual says ASAVE is "no longer supported".

If anyone either knows the format or knows a way to
read it on an HP1000 or has ANY programs at all regarding
ASAVE could you please send them to me?

Thanks,

Chris Lent
Overworked graduate student @ The Cooper Union, NY, NY 10003
ihnp4!allegra!phri!cooper!chris
(203) 452-1522 (Answering machine If I'm not there).

chuck@hpunsca.HP.COM (Chuck Munro) (10/04/86)

>> Does anyone know what the ASAVE format is?

ASAVE is a disc-lu backup utility which writes track-for-track images
of an HP1000 disc logical unit to tape.  The format is used ONLY by
the HP1000.


>> I've got an HP3000 tape that we're supposed to read
>> but I'd like to know what the format is.

An HP3000 tape will not be in ASAVE format.  It could have been
written by the 3000's FCOPY utility, in which case there is only
one way to read it on the 1000 -  with a simple FMGR 'STore',
or CI 'COpy' command.

This will only work if the FCOPY tape was written as 'unlabeled'
and 'unblocked' (meaning one record per block).

There may be a utility in the HP1000 Users Group which would help with
blocked and labeled tapes.

I'm not sure about the format from other HP3000 utilities (I'm an
HP1000/9000 type).


>> Overworked graduate student @ The Cooper Union, NY, NY 10003

Well, aren't ALL grad students highly overworked !!


Chuck.

dclaar@hpda.UUCP (Doug Claar) (10/14/86)

Most hp3000 tapes are in "store/restore" format. This format begins with 
2 EOF marks, and then a header label of 40 words, with the first 14 
words the string "STORE/RESTORE LABEL-HP/3000." 

word 27 of this header (28 if you start counting at 1) is the tape block 
size in words (0 = 1024 words--for backwards compatibility, I think).

After this is an eof, than a tape directory with 12 word records:
   0-3  is file name
   4-7  is group name
   8-11 is account name 
These are blocked according to the tape block size given above.

Another eof mark, and then the first file. "The data is blocked
according to the block size...(the last record may be shorter, but
will always be a multiple of 256 words)."

another eof, then the second file....
.
.
.
the last file, and an EOF, and then the trailer label:
  word 21 <> 0 means: preceding EOF marks actual end of that file
  word 22 <> 0 means: this is the end of the tape

This is the gist of it. You can use ST to get the files off. I
don't know of any 1000 tools that automatically read 3000 store/restore
tapes, but then I just barely know the 1000, being in the 3000 lab (In 
a company this big, that shouldn't be strange, but it doesn't look good
when I say it in writing...)

Oh, of course, this doesn't represent official HP positions, and all
that...


Doug Claar
HP Information Techonology Group
UUCP: { ihnp4 | mcvax!decvax }!hplabs!hpda!dclaar -or- ucbvax!hpda!dclaar
ARPA: hpda!dclaar@ucb-vax.ARPA