HP3000-L Archives

May 1996, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Alan AMBERS <[log in to unmask]>
Reply To:
Alan AMBERS <[log in to unmask]>
Date:
Wed, 22 May 1996 08:11:00 +0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Barry said....
>
>      I have an hp3000/959 running MPE 5.0.  I am sending a vendor spool
>      files on tape.  This person does NOT have an HP machine (not sure
of
>      what kind).  I need to send multiple spool files on one tape but
the
>      vendor needs to know when one file begins and one file ends and the
>      name of that file.  Any ideas?
 
It's been a while since I have done this, but it is pretty straight
forward.
 
1) Fcopy the first file to the tape.
 
2) Fcopy the second file with the SKIPEOF=x option.  This is the only
tricky part.  If I remember correctly, you want to say skipeof=2 since
there is an EOF BEFORE your first file and one after.
 
3) Fcopy again, incrementing the SKIPEOF option.
 
Make sure that you use a file equation that has the right record length.
More important, use a blocking factor so that each physical record on the
tape is large enough to fit all of the files on the tape, but small enough
not to be greater that 32767 bytes.  It has been so long since I have done
this, that block size might not be a limitation now.  But if it is, the
MPE/fcopy won't let you know that you are not writing out all of the data.
 
The only way that I can think to let the vendor know the "names" of the
file is to write a seperate file as the first file on the tape with the
names.  If you do this, it is probably a good idea to make the
record/block size the same as the spool files to make reading the tape
easier.
 
HTH
 
/alan
[log in to unmask]

ATOM RSS1 RSS2