Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesSaturday, July 21, 2018
Navigation
Home
Articles
Downloads
Hobby Wear
FAQ
Forums
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Search
Users Online
Guests Online: 6
No Members Online

Registered Members: 7,168
Newest Member: davej
PdfFactory Pro Enterprise 2.31, MATFOR 4.00.061031 in Lahey Fortran, Adobe PhotoShop 9.0 CS2 oem, Trend Micro InterScan VirusWall 6.0, Adobe Acrobat 7.0 Professional sale, Salon Iris 5.05, Drafix Pro Landscape 11.2, oem Adobe PhotoShop CS 8.0 cheap buy, Catia 5 R12 P3 with SP2, Mcafee Secure Internet Gateway 4.5, oem Adobe Acrobat Professional 8 oem, Visual UML 4.1 Developer Edition, sale Adobe CS3 Design Premium Vol for Mac low price, Nuance Dragon Naturally Speaking 9.0 Professional With SP1, Adobe After Effects Plugins, low price AutoCAD 2006 cheap buy, Avid NewsCutter XP 3.8, The Movie Library 1.7.11, oem Adobe Creative Suite Premium Edition 2.0, ProFlyers 6.0 PDF Forms for Adobe Acrobat, PTC Pro Engineer Routed Systems Designer 5.0, sale DVDXCopy Platinum 4.0.38, CyberBizPlan v1.0.165 WinAll, NeverCenter Silo 1.16b, cheap buy AutoCAD 2005, Norton Save And Restore 11, sale Adobe Creative Suite 3 Design Premium sale, Adobe Premiere Plugins Collection 2007, cheap buy Adobe Creative Suite Premium Edition 2.0 for Mac sale, Active Desktop Calendar 6.5.061124, sale Adobe Acrobat 6.0 Professional, X-Rite MonacoPROFILER Platinum 4.8, EmailUnlimited 6.1 Win98NTME, oem Adobe Photoshop CS3 Extended sale
Sponsors
Island Computer
View Thread
OpenVMS Hobbyist Program | VAX Systems Forums | VAX Software Forum
Author ZIPped save_set - is all hope lost?
Micha
Member

Posts: 16
Joined: 16.12.06
Posted on March 09 2007 21:04
Hi,

I run into a problem with my archives. So far I did only archiving. Yesterday I tried for the first time retrieve some files from an archive.

I use to perform archiving of my files in the following way:

* create a backup /save_set with all my files
* zip it into a zip archive which I then put per FTP on some backup medium (my PC in that case).

It looks like even a sequence of ZIP and UNZIP on the same VAX renders a backup useless. Here is an example session for better illustration:

---------------
$ backup [...]*.* myfiles.bak /save_set/exclude=myfiles.bak
$ zip myfiles myfiles.bak
$ del myfiles.bak;*

$ unzip myfiles
$ backup/list myfiles.bak/save_set
Listing of save set(s)

%BACKUP-F-NOTSAVESET, DISK$USER_2:[BERGER.BAK]MYFILES.BAK;1 is not a BACKUP save set
----------------

Is there any hope to repair such a save_set file so it will work again?
I know ZIP/UNZIP are not part of the original VMS software but come rather from the unix world. And I know there are several vms-adapted versions around.
My VAX is currently switched off, I will put the version numbers that I am using in here later...


Regards

Michael
Author Re: ZIPped save_set - is all hope lost?
brad
Member

User Avatar

Posts: 134
Location: Hopedale, MA USA
Joined: 15.12.05
Posted on March 10 2007 06:14
[quote:b5c314f902="Micha"]Hi,
[...]
It looks like even a sequence of ZIP and UNZIP on the same VAX renders a backup useless. Here is an example session for better illustration:

---------------
$ backup [...]*.* myfiles.bak /save_set/exclude=myfiles.bak
$ zip myfiles myfiles.bak
$ del myfiles.bak;*

$ unzip myfiles
$ backup/list myfiles.bak/save_set
Listing of save set(s)

%BACKUP-F-NOTSAVESET, DISK$USER_2:[BERGER.BAK]MYFILES.BAK;1 is not a BACKUP save set
----------------
[...]

I've noticed that you did not use any of the "usual" switches for the ZIP/UNZIP sequence. For me, the "usual" switches are "-V9" for ZIP and "-VV" for UNZIP.
As you might be able to tell, "V" tells ZIP to save VMS file attributes.

I have used ZIP/UNZIP on VAX VMS 7.2/7.3, and on Alpha VMS V7.2-1 through V8.3 without incident for many years. I don't know if you can repair this problem, though.

[/quote:b5c314f902]
http://www.turquoisewitch.com/~bradh
Author
Micha
Member

Posts: 16
Joined: 16.12.06
Posted on March 10 2007 06:46
Hi Brad,

and thank you very much for your reply. In fact I was not aware there are VMS-specific switches that should be used. I am relatively new to VMS, probably I do not yet have a really good understandig of its file attributes concept.

Your hint is something to get started with for me.

EDIT: I cannot figure out how to use these options. My versions of ZIP/UNZIP understand something like "verbose" when I try to use -Vsomething
I am using ZIP 2.1 and UNZIP 5.42, both compiled with VAX-C (the .vax_vaxc_exe versions). Wich versions do you use and where could I get them? And could you give an example? Sorry for all those questions.


Regards

Michael
Author
brad
Member

User Avatar

Posts: 134
Location: Hopedale, MA USA
Joined: 15.12.05
Posted on March 10 2007 08:01
[quote:0e2d1ba771="Micha"]
[...]
EDIT: I cannot figure out how to use these options. My versions of ZIP/UNZIP understand something like "verbose" when I try to use -Vsomething
I am using ZIP 2.1 and UNZIP 5.42, both compiled with VAX-C (the .vax_vaxc_exe versions). Wich versions do you use and where could I get them? And could you give an example? Sorry for all those questions.
[...]

No problem.

The versions of ZIP/UNZIP that I use are ZIP 2.32 and UNZIP 5.52. I don't remember where I got them, but they should be available on the freeware disks

<http://h71000.www7.hp.com/freeware/>

Just browse the distributions.

Now the problem you are having _might_ arise from that fact that the "-V" switch must be capitalized, and in quotes, as I show here; otherwise the system will interpret them as -v, which is verbose (as you have discovered).

zip -h (and unzip -h) should show you all available switches for your version. You may not need to get the latest and greatest version.

Good luck.
[/quote:0e2d1ba771][/b]
http://www.turquoisewitch.com/~bradh
Author
Micha
Member

Posts: 16
Joined: 16.12.06
Posted on March 10 2007 23:43
Thanks again for those hints. It really was not clear to me before that i have to put the V into quotes to make the program see it as an uppercase letter.

Just by some trial and error I found, that just a "-V" in the zip line does the job, the subsequent unzip does not even need a V:

$ zip "-V" myarchive myarchive.bak
...
$ unzip myarchive

Looks like the unzip gets alerted automatically there is still something else...

A friend of mine just showed me another nice workaround that would help me to rescue my existing backups:

First he fixed the file with a guessed block size of 512:

$ SET FILE/ATTRIBUTES=(RFM:FIX,MRS:512,LRL:512,ORG=SEQ,RAT=NONE) myarchive.bak

Aftwer that is done a subsequent
$ BACKUP/LIST myarchive.bak/SAVE_SET

will show the correct block size, which in most case will be 32256
Another
$ SET FILE/ATTRIBUTES=(RFM:FIX,MRS:xxxxx,LRL:xxxxx,ORG=SEQ,RAT=NONE)
will then fix the save_set.

(Since 32256 is the most likely answer, that will probably save some effort if applied as first guess smiley )

Best Wishes

Michael
Author
imiller
Administrator

User Avatar

Posts: 277
Location: UK
Joined: 24.02.06
Posted on May 02 2007 05:31
For fixing the attributes of backup savesets you can use

http://h71000.www7.hp.com/freeware/freeware80/000tools/reset_backup_saveset_file_attributes.com
http://www.encompasserve.org/~miller/
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?

Yes

No

You must login to vote.
Shoutbox
You must login to post a message.

malmberg
June 26 2018
https://www.openvmshobbyi
st.com/forum/viewthread.p
hp?forum_id=10&thread_id=
2363


bhamakripa
June 24 2018
I am trying OpenVMS via SIMH. Need to get OS binaries for v7.3. Registered here but don't have any membership number yet which is needed to get license. Pls suggest what to do. I hardly know anyth

basilh
June 05 2018
Any other forum members in Perth, Australia?

LouF91
April 05 2018
ah maybe they love that!

malmberg
March 24 2018
Probably. More people hang out on the comp.os.vms newsgroup.

vaxpert
March 23 2018
I have a PE42A and other Alpha system stuff for sale. I'm in So California. Any interest out there?

goodbyespy
February 27 2018
To Prohorenko. Please, visit group OpenVMS in the ok.ru

peteherrera
February 24 2018
How much does it cost to buy a complete OpenVMS hardcopy documentation set of the latest version

prohorenko
February 17 2018
Please help to obtain the license on OpenVMS

malmberg
December 12 2017
HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.

nmbonao
December 08 2017
Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much

aarommes
December 02 2017
Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis
t.com/forum/viewthread.ph
p?forum_id=130&thread_id=
2991


malmberg
September 10 2017
https://sourceforge.net/p
/vms-ports/wiki/VMSInstal
lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?


DoeveR
August 07 2017
Where can I find the write up on running VMS 6.1 using the simh emulator?

Bart
March 20 2017
Happy to have found my password again!

Shoutbox Archive