- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Export VMS 6.1 RMS files to WINDOWS
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
Discussions
Discussions
Discussions
Forums
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
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-14-2007 03:29 AM
тАО05-14-2007 03:29 AM
Export VMS 6.1 RMS files to WINDOWS
I did try to just FTP my RMS files to my windows client but the files come over all screwed up.
Thanks,
joe...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 03:37 AM
тАО05-14-2007 03:37 AM
Re: Export VMS 6.1 RMS files to WINDOWS
Joe ,
Are you tried FTP with ascii or binary fromat.
use it as per your file type.
ftp>bin (for binary files)
ftp>ascii (for text/ascii format files)
then mget or mput...
Atul sardana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 03:55 AM
тАО05-14-2007 03:55 AM
Re: Export VMS 6.1 RMS files to WINDOWS
In that case you would not need to 'do' anything on the VMS side, just transfer in ASCII, not binary, mode.
You MIGHT want to perform a simple convert to stream file on VMS from those INDEXED (?!)rms files to sequential files before FTP, in which case a binary transfer is acceptable.
$CREATE STREAM.FDL
FILE; ORGANIZATION SEQUENTIAL
RECORD; FORMAT STREAM
$
$CONVERT/STAT/FDL=STREAM file.indexed file.txt
You could do that in a loop in a script and than may want to ZIP up those text files on the VMS side to be able to do a single (or a few) FTPs.
You'd still need to explain to Oracle exactly where the columns are in the text files.
If there are numbers in the files, much more care it needed, and this project might just turn into 'work'. Yikes :-)
If you go the Cobol route, which is not a bad idea, then you may choose to output the text in a CSV format and format those numners 'just so' to make them easily palatable to an Oracle IMPORT definition.
If you've never done any of this, then you may want to consider professional support.
Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 04:11 AM
тАО05-14-2007 04:11 AM
Re: Export VMS 6.1 RMS files to WINDOWS
Ok... For moderate to large volumes of data or for moderate to complex organizations, I'd create a tool to export to a stream LF file containing XML-structured data. There are libxml2 libraries available for OpenVMS, and most environments can often import and export XML-structured data directly.
You can potentially use libxml2 to assist with the XML processing, or just have your COBOL code generate XML rather more directly. A port of libxml2 is available via the OpenVMS Freeware, and writing XML is little more than structuring your program output, and running some available verification tools such as xmllint.
XML gives you the ability to structure your data so that more generic tools and APIs -- whether on Windows, Linux, Mac OS X, HP-UX or OpenVMS -- can read and process and write it.
There's no generic export conversion tool around, due to the arbitrary and free-form (and untagged) nature of what can be freely stored in an RMS file. Beyond the key structures for indexed files and such, OpenVMS and RMS have no idea what data is stored in the file. These record-level structural details are entirely an application-level consideration. (If your files are entirely text, with no embedded binary data, then there are generic options potentially available.)
The conversion tool will want to generate stream LF or stream-format files for easy transport across platforms, and for easier interpretation.
The other approach is a distributed environment using ODBC or similar database connectors, and configuring Windows, Linux and OpenVMS to operate in a distributed environment. This would allow you to continue to use your present environment, and to gradually migrate your environment over to HP-UX, Linux, Mac OS X or Windows; to whatever your chosen target platform is.
I've posted up a couple of migration topics and some related comments a while back, at:
http://64.223.189.234/node/225 (off OpenVMS)
http://64.223.189.234/node/226 (to Integrity)
Stephen Hoffman
HoffmanLabs.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 12:18 PM
тАО05-14-2007 12:18 PM
Re: Export VMS 6.1 RMS files to WINDOWS
There are various "odbc" drivers available for rms files on vms, I have used connx
see http://www.connx.com/products/rms.html
the steps are:
install software on vms and windows
create connx data dictionary
create odbc data source
connect to data source and get data
The connx data dictionary can be loaded from cdd record definitions or cobol record layout
Does your data include any vms-style dates or packed-decimal fields?
Phil