From: fairfield@sldb4.slac.stanford.edu
Subject: Re: FTPing savesets?
Date: 1998/01/06 [thread overview]
Message-ID: <1998Jan6.152101.1@sldb4.slac.stanford.edu> (raw)
In-Reply-To: 5252C22B21E0F24D.9F057558F6F3CB63.420AD4F07EEFEF37@library-proxy.airnews.net
In article
<5252C22B21E0F24D.9F057558F6F3CB63.420AD4F07EEFEF37@
library-proxy.airnews.net>, "Robert Young" <rcyoung@groupz.net> writes:
> I have FTP'd a saveset off the internet via a WWW site to my PC (using
> Win95/Netscape). Now I need to get it up to the VMS system running Mulitnet.
> Whatever I try, VMS backup is unable to correctly 'decolvolute' the
> transferred saveset into its component files.
You MUST transfer the savesets in BINARY mode. You will get
corruption otherwise.
> The error is 'excessive errors reading the saveset file'.
Step two is that, once on the VMS system, you will (most likely)
need to restore the saveset's file attributes. This is easy in VMS
6.0 and above, a little more difficult (need a program) in earlier
versions.
By _default_, BACKUP produces saevsets on _disk_ with fixed
length records and record length 2048 bytes. The creator of the
saveset has, however, full control over that record length. To
determine the correct record length, use BACKUP/LIST and look at the
information in the the saveset's header:
$ BACKUP/LIST saveset.name/SAVE
For example,
-----------------------------------------------------------------------------
$ backup/list $255$DUA3:[000000]DISK$SLCW47.BCK/save
Listing of save set(s)
Save set: DISK$SLCW47.BCK
Written by: SYSTEM_KHF
UIC: [000001,000004]
Date: 1-AUG-1997 20:30:54.08
Command: BACKUP/IMAGE/VERIFY/IGNORE=INTERLOCK/LOG DISK$SLCW47_45583: $
255$DUA3:[000000]DISK$SLCW47.BCK/SAVE
Operating system: OpenVMS VAX version V6.2
BACKUP version: V6.2
CPU ID register: 14000006
Node name: _SLCW47::
Written on: _$255$DUA3:
Block size: 32256 <---- look at this line
Group size: 10
Buffer count: 53
Image save of volume set
Number of volumes: 1
Volume attributes
Structure level: 2
Label: SLCW47_45583
Owner:
[...]
-----------------------------------------------------------------------------
In this example, the record size (block size) needs to be set to 32256
bytes (which, by the way, is the largest blocksize you can use for a
saveset on disk).
Once you've determined the correct record size, use the SET FILE
command to set the file's record attributes correctly:
$ SET FILE /ATTRIBUTE=(LRL:32356) saveset.name
You needn't worry about record attributes because they've been set
correctly doing a binary ftp. [For the record, they're RFM:FIX,
RAT:NONE, and ORG:SEQ.]
Having set the saveset's record length correctly, BACKUP will read
the file just fine (barring instrinsic file corruption during transfer).
IIF you're using a VMS system older than V6.0, you'll need to obtain
Joe Meadow's FILE utility, which is available from "fine VMS ftp sites
everywhere", and us it to change the record size field.
-Ken
--
Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515
-------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
next prev parent reply other threads:[~1998-01-06 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-05 5:00 FTPing savesets? Robert Young
1998-01-06 5:00 ` Martin Vorlaender
1998-01-06 5:00 ` fairfield [this message]
1998-01-07 5:00 ` John Briggs
1998-01-07 5:00 ` fairfield
1998-01-14 5:00 ` Phillip Helbig
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox