- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Transferring Text files to a Unix system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
05-01-2007 04:13 AM
05-01-2007 04:13 AM
Transferring Text files to a Unix system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 04:53 AM
05-01-2007 04:53 AM
Re: Transferring Text files to a Unix system
The normal format for tape interchange to UNIX is tar. There isn't a native VMS command to create tar tapes that I am aware of.
You can download a tar utility for VMS http://vms.process.com/scripts/fileserv/fileserv.com?VMSTAR
but I am not sure how much good that will do you since you say the vax3000 is standalone.
Does stand alone mean that it has no network connection? If so, then you could ftp the files in ascii mode to some unix system with a tape drive, and create your interchange tape there.
Or find a more connected VMS system with a compatible 4 mm tape drive, download the freeware CD to the the connected VMS system, and back the freeware to 4 mm tape with VMS backup. You may want to create a saveset at the beginning of the tape with just the VMSTAR (already unzipped VAX exe) since that is all you are currently interested in.
If the VAX3000 has CD, then you may already have a VMS freeware CD. If not you can burn one.
Or you could copy the files to tape in ansi format, and see if there is a way to read them on unix.
$ init tape: xchng
$ mou tape: xhang
$ copy *.txt tape:*.*
$ dism tape:
Whether that is a viable option I have no idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 04:56 AM
05-01-2007 04:56 AM
Re: Transferring Text files to a Unix system
I meant "Does stand alone mean that it has no network connection? If NOT ..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 07:07 AM
05-01-2007 07:07 AM
Re: Transferring Text files to a Unix system
There are a gazillion similarly-named named systems in the 3000 series, and based on the Alpha and VAX architectures, and even a few MIPS boxes thrown in for good measure.
As for the first, ensure you have or convert the sequential files into a Stream LF format. DIRECTORY/FULL will show the format, and it's probably going to be the so-called VFC format. This conversion can be done with the CONVERT/FDL command and an FDL file containing the target stream LF format settings, or -- with just a few files -- creating an empty text file (COPY NLA0: X.TXT), issuing SET FILE/ATTR=RFM=STMLF X.TXT, then opening X.TXT with a text editor and including one or more of the sequential files you want to transfer, and saving the result.
VMSTAR is the usual tool for creating tar archives on OpenVMS. Acquire the kit from any of various sources including the previously-cited URL and via the OpenVMS Freeware (http://www.hp.com/go/openvms/freeware), then read the provided documentation. (Not intended to be blunt or rude; I too have to read that same documentation or the same man page every time I use tar or VMSTAR.)
Configuring a network is often the easiest approach, and would be tghe approach I would choose if the OpenVMS VAX box had IP loaded.
I'd tend to haul over the TLZ06 itself, if I did not have a near-match (compatible) drive on the Sun Solaris box. DAT tapes and DAT drives can be mildly fussy. It's SCSI, and the Soliaris box likely has SCSI.
What I usually use between OpenVMS and various Unix boxes is IP and sftp or (in a pinch) ftp. But I do ensure the OpenVMS files are stream LF before I transfer them.
As for approaches rather further afield, there are tools to read and write FAT volumes on OpenVMS, and there are tools to read ODS-2 on various platforms. This stuff is generally found on the Freeware. I've used SCSI and IDE zip drives, for instance, to haul stuff between various Windows, Apple, Linux and OpenVMS drives. (SCSI zip is rare now, but there are certainly SCSI disks around.)
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 07:08 AM
05-01-2007 07:08 AM
Re: Transferring Text files to a Unix system
First off, what type of text files?
As a more generic note, I often recommended the use of Kermit as a file transfer mechanism in such situations. All Kermit requires is a serial connection, which is often easily arranged, even to a "standalone" system.
When transferring files using Kermit or similar communications programs, I often also recommend the use of ZIP archives as a container. Kermit has fairly robust error recovery, but the formatting changes can create more excitement than is desirable.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 08:16 AM
05-01-2007 08:16 AM
Re: Transferring Text files to a Unix system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 08:51 AM
05-01-2007 08:51 AM
Re: Transferring Text files to a Unix system
As already suggested, Zip (if you have it,
or can get it) and UnZip can help with any
adjustments which the "text files" may need
upon arrival at the non-VMS destination.
UnZip on a non-VMS system normally has a
VMS_TEXT_CONV feature, whose purpose you may
reasonably infer. "unzip -v":
[...]
UnZip special compilation options:
[...]
VMS_TEXT_CONV
[...]
Otherwise, that CONVERT advice above may have
some value. Actual testing will, of course,
tell you what doesn't work.
If you don't already have it/them, Zip 2.32
and UnZip 5.52 are the current released
versions, and tend to have fewer bugs,
including some involving recognition of text
files, but I can't guarantee that some
fossilized [Un]Zip version will fail.
http://www.info-zip.org/
On the bright side, at VMS V6.2, you probably
don't need to worry about 2GB large-file size
limitations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 09:27 AM
05-01-2007 09:27 AM
Re: Transferring Text files to a Unix system
No modern machine is truly standalone.
See if UCX has been installed and simply not started or not connected, or if a UCX license is loaded. Many machines of this era had IP loaded. And IP is easy to load and configure.
$ UCX
UCX> SHOW VERSION
As for licenses:
$ SHOW LICENSE UCX
$ SHOW LICENSE NET*
Off the top, I don't know what the Process Multinet or TCPware PAKs are named.
The massively brute-force solution here is to log in over a serial line (into the console, for instance), and capture the output.
Before turning the machine off as the last part of its retirement, I'd likely also make a BACKUP/IMAGE of the disks, either on TLZ (DAT/DDS) or DLT, or onto a SCSI disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 11:33 AM
05-01-2007 11:33 AM
Re: Transferring Text files to a Unix system
Since these are files and will survive any text reformatting done by the terminal driver, a simple solution would be to take a laptop into the room, and use a terminal emulator, even the built in hyperterminal will work for this. Use a serial connection, capture the output to a file, and
$ type *.c
Then you can connect to your unix system and paste the file back into a text editor, and split the files.
Not a good solution for 1000 files, but for 4 it will probably be quicker than other solutions.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 11:51 AM
05-01-2007 11:51 AM
Re: Transferring Text files to a Unix system
And meant "Since these are C source files"
If the terminal driver replaces tabs with spaces, the C compiler won't care.
The point is that the text files you are transferring don't have to be 100% the same, screen scraping will almost certainly be "good enough".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 08:04 AM
05-02-2007 08:04 AM