Author |
Error when copying information from DVD-R |
srallen87
Member
Posts: 9
Joined: 04.08.11 |
Posted on August 09 2011 03:10 |
|
|
I'm running freeaxp on windows vista, I have a .sav file I am attempting to copy over. Every time I try, I get the following error:
Error opening dka100:[000000]backup.sav;1
-RMS-F-ALQ, invalid allocation quantity (negative, or 0 on $extend)
I apologize for asking so many questions. |
|
Author |
RE: Error when copying information from DVD-R |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 09 2011 03:34 |
|
|
It looks like a file or file header corruption problem. Try an ANALYZE/RMS on the file. |
|
Author |
RE: Error when copying information from DVD-R |
srallen87
Member
Posts: 9
Joined: 04.08.11 |
Posted on August 10 2011 03:02 |
|
|
Well I ran the command, only to find out that the .sav file is compressed. Could it be an issue between it being compressed and then transferred to a windows machine? I tried to use the .sav uncompressed and come to find out it was too big for the iso file format. I was thinking I could inject the file into one of the virtual disks I have, but I haven't been able to find a way to do this. |
|
Author |
RE: Error when copying information from DVD-R |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 10 2011 15:06 |
|
|
Can you provide details on where and how the .sav file was created? Is it a VMS backup save set or something else? |
|
Author |
RE: Error when copying information from DVD-R |
srallen87
Member
Posts: 9
Joined: 04.08.11 |
Posted on August 12 2011 04:00 |
|
|
I backed it up from my VMS Machine using VMS. It created a compressed save set, then I FTP'd it to a windows machine using binary. Then I burned it to a disc using cdxp . This is the second time I've done it and I'm still having issues. |
|
Author |
RE: Error when copying information from DVD-R |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 13 2011 05:41 |
|
|
What command did you use to create the save set? |
|
Author |
RE: Error when copying information from DVD-R |
drew77
Member
Posts: 1
Joined: 18.08.11 |
Posted on August 18 2011 04:49 |
|
|
I am working with allen on this.
we used the backup/image command. |
|
Author |
RE: Error when copying information from DVD-R |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 18 2011 05:25 |
|
|
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:
$! 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
See these links for more information:
http://labs.hoffmanlabs.com/node/684
http://h71000.www7.hp.com/openvms/freeware/backup.html
Edited by Bruce Claremont on August 18 2011 05:26 |
|
Author |
RE: Error when copying information from DVD-R |
srallen87
Member
Posts: 9
Joined: 04.08.11 |
Posted on August 30 2011 02:30 |
|
|
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!
|
|
Author |
RE: Error when copying information from DVD-R |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 30 2011 04:00 |
|
|
FTP the file from Windows into the VMS system. |
|
Author |
RE: Error when copying information from DVD-R |
Marc
Member
Posts: 16
Joined: 05.01.08 |
Posted on September 12 2011 18:38 |
|
|
srallen87 wrote:
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.
Edited by Marc on September 12 2011 18:39 |
|
Author |
RE: Error when copying information from DVD-R |
Guenther
Member
Posts: 6
Location: Colorado
Joined: 27.11.10 |
Posted on September 15 2011 11:19 |
|
|
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
Edited by Guenther on September 15 2011 11:20 |
|