- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Moving Folders from OpenVMS to Windows
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 11:50 AM
02-04-2008 11:50 AM
Moving Folders from OpenVMS to Windows
We have OpenVMS 7.3-2. I would like to FTP some of the folders (containing scripts, texts, logs, data) onto my Windows Machine.
Typically I have done this for specific files.
This works fine.
However, I am not clear how the versions are treated on Windows. Is the latest version of a specific file kept while the lower versions get overwritten?
Also, is there a way I can get all the versions on my Windows machine. That would be really helpful ? If there are any softwares I can install on windows that can track VMS versions ? Please let me know.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 12:47 PM
02-04-2008 12:47 PM
Re: Moving Folders from OpenVMS to Windows
> on Windows. [...]
They aren't? So far as I know, Windows file
systems don't do versions. What happens on
Windows depends on what you do on Windows.
> Also, is there a way I can get all the
> versions on my Windows machine.
Zip version 2.32 (and probably earlier) has
-w store file version numbers
So you use it to could create a Zip archive
with multiple files like file.type;3,
file.type;2, file.type;1, but those names
might cause problems on a non-VMS destination
system.
Zip 3.0e (pre-release, "BETA") (or later)
also has:
-ww store file version numbers as ".nnn"
Using it, you'd get file names like
file.type.3, file.type.2, file.type.1, and so
on. Perhaps the UnZip program on your
Windows system could do something more useful
with names like those.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 01:07 PM
02-04-2008 01:07 PM
Re: Moving Folders from OpenVMS to Windows
$ zip -?
Copyright (c) 1990-2006 Info-ZIP -
Zip 2.32 (June 19th 2006).
:
-w append version number to stored name
This will confuse windows somewhat in the sense that you will not be able to drag and drop from the zip file onto an editor.
But you can drag it into a folder, or onto the desktop, and then toss it at an editor.
Zip will also deal with the variable length record thing automagically for you.
Of course any trivial script can readily rename the multiple versions into a standard of your own with the version in the name or type. For example, with perl on the windoze side you could use:
perl -e "foreach (<*>) {($n,$t,$v)=split /\.|;/; rename $_, qq(${n}_$v.$t)}"
That will change name.type;version to name_version.type
Same thing on the VMS side (don't!) would be:
perl -e "foreach (<*.*;*>) {($n,$t,$v)=split /\.|;/; rename $_, qq(${n}_$v.$t)}"
You need the ;* to make the perl glob function return version numbers.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 03:37 PM
02-04-2008 03:37 PM
Re: Moving Folders from OpenVMS to Windows
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 03:53 PM
02-04-2008 03:53 PM
Re: Moving Folders from OpenVMS to Windows
The only way I know of to recognise version numbers on Windows is to manually RENAME files either on OpenVMS or Windows to resolve any potential name conflicts, or file type confusion.
(It's rather curious to me that other operating systems haven't copied/used the OpenVMS version concept in file names. It's such an obvious and useful idea)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-04-2008 11:26 PM
02-04-2008 11:26 PM
Re: Moving Folders from OpenVMS to Windows
In general, what I've seen, is that if no version is mentioned, the latest version will be retrieved . Specifying a version will get that particular version. Completely consistent with the way VMS would do.
The naming on the Windows (or *x) side depends. It's fairly usual that the name speccified in GET is used:
GET file.ext ==> stored as "file.ext"
GET file.ext;vrs ==> stored as "file.ext;vrs"
For what I've seen, using a wildcard as version, this would follow the second rule, retrieving files in the same order as VMS commands would show them: in descending order of version number (highest first). but if your program would ignore this order and would overwrite the latest retrieved version, chnaces are you'll end up with the file with the lowest version number - usually the oldest file.
beware though that files on VMS containing multiple dots and 'escaped' characters on ODS-5 disks can not always be handled.
I concur with Steven: ZIPPING the files on VM using the -w option and transferring the file BINARY to any other platform would be a better and safer idea. If your files are plan ASCII to be processed on Windows or Unix (and not transferred back), the -l option is useful (ZIP -h will show you all the options)
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2008 02:01 AM
02-05-2008 02:01 AM
Re: Moving Folders from OpenVMS to Windows
I've seen it done. Confused me mightily.
Cheers, Colin (http://www.xdelta.co.uk).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-2008 03:57 AM
02-05-2008 03:57 AM
Re: Moving Folders from OpenVMS to Windows
You could indeed, but that would mean loss of logs (and other stored data) and I doubt that is appreciated :).
@nipun:
Though I cannot check - I don't have a Windows Server at hand - think about this:
If the windows environment is a WindowsServer (not a Workstation), it should be possible to PUT files and give it a name on Windows (PUT file.ext;vrs file.ext_vrs, for instance). You will ba able to control it from the VMS system where you have all facilities - on the commandline (so you can pass over files in batch).
OpenVMS Developer & System Manager
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP