Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* FTPing savesets?
@ 1998-01-05  5:00 Robert Young
  1998-01-06  5:00 ` fairfield
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert Young @ 1998-01-05  5:00 UTC (permalink / raw)



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.

The error is 'excessive errors reading the saveset file'.

Ideas?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FTPing savesets?
  1998-01-05  5:00 FTPing savesets? Robert Young
@ 1998-01-06  5:00 ` fairfield
  1998-01-07  5:00   ` John Briggs
  1998-01-06  5:00 ` Martin Vorlaender
  1998-01-14  5:00 ` Phillip Helbig
  2 siblings, 1 reply; 6+ messages in thread
From: fairfield @ 1998-01-06  5:00 UTC (permalink / raw)



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...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FTPing savesets?
  1998-01-05  5:00 FTPing savesets? Robert Young
  1998-01-06  5:00 ` fairfield
@ 1998-01-06  5:00 ` Martin Vorlaender
  1998-01-14  5:00 ` Phillip Helbig
  2 siblings, 0 replies; 6+ messages in thread
From: Martin Vorlaender @ 1998-01-06  5:00 UTC (permalink / raw)



Robert Young (rcyoung@groupz.net) wrote:
: 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.

: The error is 'excessive errors reading the saveset file'.

: Ideas?

It is not possible to transfer savesets as-is via FTP.
One method I know of is ZIPping the saveset prior to FTPing it (which also
saves bandwidth in the transfer).

cu,
  Martin
--
                          | Martin Vorlaender | VMS & WNT programmer
 Ceterum censeo           | work: mv@pdv-systeme.de
 Redmondem delendam esse. |       http://www.pdv-systeme.de/users/martinv/
                          | home: martin@radiogaga.harz.de



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FTPing savesets?
  1998-01-06  5:00 ` fairfield
@ 1998-01-07  5:00   ` John Briggs
  1998-01-07  5:00     ` fairfield
  0 siblings, 1 reply; 6+ messages in thread
From: John Briggs @ 1998-01-07  5:00 UTC (permalink / raw)



In article <1998Jan6.152101.1@sldb4.slac.stanford.edu>, fairfield@sldb4.slac.stanford.edu writes:
>         By _default_, BACKUP  produces  saevsets  on  _disk_  with fixed
>     length  records  and record length 2048 bytes.

Minor nit.  2048 is the _minimum_ block size.  Default for disk is 32256
and for tape is 8192.

$ HELP BACKUP /BLOCK reflects this.

	John Briggs			vaxs09@alpha.vitro.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FTPing savesets?
  1998-01-07  5:00   ` John Briggs
@ 1998-01-07  5:00     ` fairfield
  0 siblings, 0 replies; 6+ messages in thread
From: fairfield @ 1998-01-07  5:00 UTC (permalink / raw)



In article <1998Jan7.102930@alpha.vitro.com>, 
    	vaxs09@alpha.vitro.com (John Briggs) writes:
> In article <1998Jan6.152101.1@sldb4.slac.stanford.edu>, 
    			fairfield@sldb4.slac.stanford.edu writes:
>>         By _default_, BACKUP  produces  saevsets  on  _disk_  with fixed
>>     length  records  and record length 2048 bytes.
> 
> Minor nit.  2048 is the _minimum_ block size.  Default for disk is 32256
> and for tape is 8192.
> 
> $ HELP BACKUP /BLOCK reflects this.

        Yikes!  Sorry 'bout that, Chief...  :-}

            -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...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FTPing savesets?
  1998-01-05  5:00 FTPing savesets? Robert Young
  1998-01-06  5:00 ` fairfield
  1998-01-06  5:00 ` Martin Vorlaender
@ 1998-01-14  5:00 ` Phillip Helbig
  2 siblings, 0 replies; 6+ messages in thread
From: Phillip Helbig @ 1998-01-14  5:00 UTC (permalink / raw)



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.

Get ZIP and zip it with the -V option first.


--
Phillip Helbig                          Email .......... p.helbig@jb.man.ac.uk
Nuffield Radio Astronomy Laboratories   Tel. ..... +44 1477 571 321 (ext. 297)
Jodrell Bank                            Fax ................. +44 1477 571 618
Macclesfield                            Telex ................. 36149 JODREL G
UK-Cheshire SK11 9DL                    Web .... http://www.jb.man.ac.uk/~pjh/

My opinions are not necessarily those of NRAL or the University of Manchester.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-01-14  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-05  5:00 FTPing savesets? Robert Young
1998-01-06  5:00 ` fairfield
1998-01-07  5:00   ` John Briggs
1998-01-07  5:00     ` fairfield
1998-01-06  5:00 ` Martin Vorlaender
1998-01-14  5:00 ` Phillip Helbig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox