Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* converting a saveset that was FTP accross the NET
@ 1998-08-01  4:00 chrisl
  1998-08-01  4:00 ` Jens-Uwe Schluetter
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: chrisl @ 1998-08-01  4:00 UTC (permalink / raw)


I have a saveset that I picked up via ftp from a client site. 
When I try to restore it I encounter bad crc, block size errors.  
Someone told me that I can use the convert utility to fix this but I don't 
know how. 
Can anyone help?
thanks



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

* Re: converting a saveset that was FTP accross the NET
  1998-08-01  4:00 converting a saveset that was FTP accross the NET chrisl
@ 1998-08-01  4:00 ` Jens-Uwe Schluetter
  1998-08-01  4:00 ` David J. Dachtera
  1998-08-03  4:00 ` Arne Vajh�j
  2 siblings, 0 replies; 5+ messages in thread
From: Jens-Uwe Schluetter @ 1998-08-01  4:00 UTC (permalink / raw)


chrisl@interlog.com wrote in message <6q09ml$27d$1@news.interlog.com>...
>I have a saveset that I picked up via ftp from a client site.
>When I try to restore it I encounter bad crc, block size errors.
>Someone told me that I can use the convert utility to fix this but I don't
>know how.
>Can anyone help?
>thanks

The problem are the file attributes. You can use the set file command to
restore the correct attributes.
Savesets are fixed lenght sequential files. Install kits and tape savesets
usually have a block size of 8192. Disk savesets are created with  a block
size of 32256.
Try the fillowing command:

set file tt_exe.sav /attrib=(rfm:fix,rat:none,lrl:32256)

If you still get errors fiddle a with the block size (lrl parameter).
--
Jens.Schluetter at TradingTechnologies dot com







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

* Re: converting a saveset that was FTP accross the NET
  1998-08-01  4:00 converting a saveset that was FTP accross the NET chrisl
  1998-08-01  4:00 ` Jens-Uwe Schluetter
@ 1998-08-01  4:00 ` David J. Dachtera
  1998-08-07  4:00   ` George Cornelius
  1998-08-03  4:00 ` Arne Vajh�j
  2 siblings, 1 reply; 5+ messages in thread
From: David J. Dachtera @ 1998-08-01  4:00 UTC (permalink / raw)


chrisl@interlog.com wrote:
> 
> I have a saveset that I picked up via ftp from a client site.
> When I try to restore it I encounter bad crc, block size errors.
> Someone told me that I can use the convert utility to fix this but I don't
> know how.
> Can anyone help?
> thanks

If BACKUP can read the first few records of the saveset, try using /LIST
to determine what the original /BLOCKSIZE of the saveset was. Write that
down somewhere.

Now, if did the FTP as BINARY, you may still be able to salvage the
download (if not, you're hosed!). Using the /BLOCKSIZE value from
before, issue a SET FILE/ATTR=LRECL=blksize. That may do it, but I may
have he qualifier name wrong. Try HELP SET FILE /ATTRIBUTE for the
correct syntax.

David J. Dachtera
dba DJE Systems



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

* Re: converting a saveset that was FTP accross the NET
  1998-08-01  4:00 converting a saveset that was FTP accross the NET chrisl
  1998-08-01  4:00 ` Jens-Uwe Schluetter
  1998-08-01  4:00 ` David J. Dachtera
@ 1998-08-03  4:00 ` Arne Vajh�j
  2 siblings, 0 replies; 5+ messages in thread
From: Arne Vajh�j @ 1998-08-03  4:00 UTC (permalink / raw)
  To: chrisl

chrisl@interlog.com wrote:
> I have a saveset that I picked up via ftp from a client site.
> When I try to restore it I encounter bad crc, block size errors.
> Someone told me that I can use the convert utility to fix this but I don't
> know how.

It may be messade up so bad, that it is actually unusuable,
but maybe it is only the record-size that is wrong.

If this is the case, then you can use SET FILE /ATTR to
fix it or use a utility as f.ex.:
  ftp://ftp.hhs.dk/pub/vms/collection/fix_saveset.zip

Arne



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

* Re: converting a saveset that was FTP accross the NET
  1998-08-01  4:00 ` David J. Dachtera
@ 1998-08-07  4:00   ` George Cornelius
  0 siblings, 0 replies; 5+ messages in thread
From: George Cornelius @ 1998-08-07  4:00 UTC (permalink / raw)


In article <35C3F35C.4457@earthlink.net>, "David J. Dachtera" <djesys@earthlink.net> writes:
> Now, if did the FTP as BINARY, you may still be able to salvage the
> download (if not, you're hosed!). Using the /BLOCKSIZE value from
> before, issue a SET FILE/ATTR=LRECL=blksize. That may do it, but I may
> have he qualifier name wrong. Try HELP SET FILE /ATTRIBUTE for the
> correct syntax.

The following is an example of a command that should work, assuming a
valid binary transfer. Substitute the actual blocksize of course -
32256 is the most likely, being the default for an on-disk saveset.

  $ set file whatever/attrib=(lrl:32256,rfm:fix)

Requires VMS V6 or later.  Refer to the OpenVMS FAQ for techniques
for earlier versions.

--
George Cornelius              cornelius@eisner.decus.org
                              cornelius@mayo.edu




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

end of thread, other threads:[~1998-08-07  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-01  4:00 converting a saveset that was FTP accross the NET chrisl
1998-08-01  4:00 ` Jens-Uwe Schluetter
1998-08-01  4:00 ` David J. Dachtera
1998-08-07  4:00   ` George Cornelius
1998-08-03  4:00 ` Arne Vajh�j

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