Re: Error while listing a saveset file.

From: Alan E. Feldman (spamsink2001_at_yahoo.com)
Date: 08/31/04


Date: 31 Aug 2004 07:24:12 -0700


"jay" <qwerty@asdf.lkj> wrote in message news:<10j863pamplc046@corp.supernews.com>...
> Hi
>
> I am encountering the following error message while listing a saveset using
> backup command.
> Any idea as to why this happens.
>
> Thanks in advance for any help
> - JAY
>
> VTXNJ1> set file/att=(rfm:fix,lrl=9216, rat=none) PVP04501_C-NEW.C;1
> VTXNJ1> backup/list PVP04501_C-NEW.C/save
> Listing of save set(s)
> %BACKUP-E-READERRS, excessive error rate reading
> SS_USER:[SYSTEM_GJT]PVP04501_C-
> NEW.C;1
> -BACKUP-E-HDRCRC, software header CRC error
> %BACKUP-I-OPERSPEC
> %BACKUP-I-OPERASSIST, operator assistance has been requested
> Interrupt
> VTXNJ1>
> Interrupt

Either the save set is corrupt or you still do not have the file attributes correct.

Try this (from the HP Web site):

$! RESET_BACKUP_SAVESET_ATTRIBUTES.COM
$!
$! P1 is the specification of the BACKUP saveset
$!
$! This procedure resets the record format and record
$! length attributes of a BACKUP saveset -- savesets
$! can get "broken" during certain sorts of file
$! transfers -- such as FTP. This procedure reads the
$! (undocumented) saveset record attributes directly
$! out of the target file.
$!
$! First render the saveset readable, and implicitly
$! check that the file exists.
$!
$ Set File -
    /Attributes=(RFM:FIX,MRS:512,LRL=512,ORG=SEQ,RAT=NONE) -
    'p1'
$
$ Open/Error=whoops/Read BckSaveset 'p1'
$ Read/Error=whoops/End=whoops BckSaveset Record
$ Close/Nolog BckSaveset
$
$! Find the blocksize from within the record...
$
$ BlockSize = 0
$ BBH_L_BLOCKSIZE = %x28*8
$ BlockSize = F$CVUI(BBH_L_BLOCKSIZE, 32, Record)
$ If BlockSize .lt. 2048 .or. BlockSize .gt. 65535
$ Then
$ Write sys$output "Unexpected block size"
$ Goto whoops
$ Else
$ Set File /Attributes=(RFM:FIX,LRL='BlockSize', -
       MRS='BlockSize',RAT=none) -
       'p1'
$ endif
$ exit
$WHOOPS:
$ Write sys$output "Error"
$ exit



Relevant Pages

  • Re: Compressing backup file
    ... I am looking at creating a backup file, ... let it run for 2 hours before giving up on a test saveset). ... do the compression there, but wouldn't be able to automate ... Unofficial OpenVMS Hobbyist Support Page: ...
    (comp.os.vms)
  • Re: Why is BACKUP slow if you backup into a saveset?
    ... >>There is a big difference time between a file to file backup and a file ... >>to saveset backup. ... > a saveset backup is creating one file that has to grow as backup runs. ... process quotas, as if they are too small, that will also limit ...
    (comp.os.vms)
  • Re: Most "classic" VMS version
    ... Restore the VMS0%%.B saveset ... standalone BACKUP should work well enough to restore the saveset), ... If the 'trove is protecting the BACKUP saveset file attributes via ... The files look to be gzipped tape images. ...
    (comp.os.vms)
  • Re: Warum ausgerechnet B? (VMS Installation)
    ... Außerdem der Hinweis, wie man zu dem Prompt kommt, wo man "BACKUP" eintippt. ... beim VMS Standalone Backup - im Gegensatz zum VMS BACKUP - der DCL ... (und Itanic Installationen wiederum eine Spur anders). ... Das .A Saveset ist jenes welches immer vom VMSINSTAL restored wird, ...
    (de.comp.os.vms)
  • Re: CHECKSUM oddity?
    ... However, this is a date internal to the backup saveset, not the creation ... VMS CHECKSUM is not a cryptographically secure hash function. ... the remainder from the initial portion cancels ...
    (comp.os.vms)