Error when copying information from DVD-R

  • drew77
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #5187 by drew77
I am working with allen on this.

we used the backup/image command.

Please Log in or Create an account to join the conversation.

  • Bruce Claremont
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #5188 by Bruce Claremont
Replied by Bruce Claremont on topic RE: Error when copying information from DVD-R
Okay, when you FTP'd the save set its file structure gets modified. This is a common issue when using FTP to move save sets. It can be corrected once the save set is back on a VMS system using the following procedure:

< class='quote' style='width:400px;white-space:nowrap;overflow:auto'><code style='white-space:nowrap'>$! RESET_BACKUP_SAVESET_ATTRIBUTES.COM
$!
$! P1 is the specification of the BACKUP
$!
$! This procedure resets the record format and
$! length attributes of a BACKUP saveset --
$! can get "broken" during certain sorts of
$! transfers -- such as FTP. This procedure reads
$! (undocumented) saveset record attributes
$! out of the target
$!
$! First render the saveset readable, and
$! 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
$ Goto whoops
$ Else
$ Set File /Attributes=(RFM:FIX,LRL='BlockSize', MRS='BlockSize',RAT=none) 'p1'
$ endif
$ exit
$!
$WHOOPS:
$ Write sys$output "Error"
$ exit<br><br><br></code>

See these links for more information:
labs.hoffmanlabs.com/node/684
h71000.www7.hp.com/openvms/freeware/backup.html <hr>

Please Log in or Create an account to join the conversation.

  • srallen87
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #5189 by srallen87
Replied by srallen87 on topic RE: Error when copying information from DVD-R
Thanks so much for that! But now the issue I'm running into is that the cd is writelock, so I cannot modify the attributes of the file. I've been using google like a fiend today in hopes to find a way to inject a file into a openvms virtual disk, but I have come back with nothing.

I was thinking I could inject the file Into a virtual disk, then use the script to repair it. It's the only thing I can think of.

Thanks for all your help!

Please Log in or Create an account to join the conversation.

  • Bruce Claremont
  • Topic Author
  • Visitor
  • Visitor
13 years 5 months ago #5190 by Bruce Claremont
Replied by Bruce Claremont on topic RE: Error when copying information from DVD-R
FTP the file from Windows into the VMS system.

Please Log in or Create an account to join the conversation.

  • Marc
  • Topic Author
  • Visitor
  • Visitor
13 years 4 months ago #5191 by Marc
< class='quote'>[b:]srallen87 wrote:[/b:]
Thanks so much for that! But now the issue I'm running into is that the cd is writelock, so I cannot modify the attributes of the file. I've been using google like a fiend today in hopes to find a way to inject a file into a openvms virtual disk, but I have come back with nothing.

If I'm reading your posts correctly, you burned a regular data DVD (as opposed to a VMS-formatted one). In which case, you can modify the attributes of otherwise unformatted files on the disc.

I don't recall the exact format of the command, but I'm hoping that this will give you a head start.

$ MOUNT/MEDIA_FORMAT=CDROM/UNDEFINED_FAT=FIXED:NONE:32256 device label

This should then present the files on the CD using the specified file attributes. I don't know if the block-size is correct - you may need to tweak that value.

Note -- I'm going from memory that's about a decade old since I last used VMS in production. I could be completely off-base here.<hr>

Please Log in or Create an account to join the conversation.

  • Guenther
  • Topic Author
  • Visitor
  • Visitor
13 years 4 months ago #5192 by Guenther
Replied by Guenther on topic RE: Error when copying information from DVD-R
What did you do? Step-by-step...

So far I know you created a BACKUP save set. Where does the 'compressed' come in? Did you create a .zip from the save set?

Then you burned a DVD. On OpenVMS? Or, did you FTP 'the file' from OpenVMS to Windows and the burned it on Windows?

Then when did you get the RMS-F-ALQ error? Using BACKUP to restore from the save set on the DVD? Or, trying to COPY the file off the DVD?

It's hard to guess what you really did...and frustrating not to get all the details.

/Guenther<hr>

Please Log in or Create an account to join the conversation.

Moderators: iamcamiel
Time to create page: 0.216 seconds
Powered by Kunena Forum