- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Understanding RMS File Structure
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
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
тАО10-27-2006 05:26 AM
тАО10-27-2006 05:26 AM
Understanding RMS File Structure
I'm looking to transfer file from OpenVMS to Windows based computer.
How with an Binary file (transfered by FTP), can I reconstruct ASCII file ?
Is there any compressed record on it ?
(If I use ASCII transfert mode, I get some error (file corrupted)).
So, how can I rebuild ASCII structure from Binary one ?
What is the records separator ? How is organise an RMS file ? File Header, Records. Is records contain an Header ?
Thanks for informations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 05:40 AM
тАО10-27-2006 05:40 AM
Re: Understanding RMS File Structure
what's the File Organization ($ DIR/FULL) ?
You cannot expect to successfully transfer any non-sequential files to any non-VMS operating system.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 05:48 AM
тАО10-27-2006 05:48 AM
Re: Understanding RMS File Structure
Size: 431136/431136 Owner: [AGD,BKA]
Created: 29-APR-1996 05:26:34.03
Revised: 27-OCT-2006 17:32:48.44 (14874)
Expires:
Backup:
Effective:
Recording:
File organization: Indexed, Prolog: 3, Using 3 keys
In 3 areas
Shelved state: Online
File attributes: Allocation: 431136, Extend: 8784, Maximum bucket size: 9
Global buffer count: 0, No version limit
Contiguous best try
Record format: Fixed length 362 byte records
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWED, World:
Access Cntrl List: None
Total of 1 file, 431136/431136 blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 05:54 AM
тАО10-27-2006 05:54 AM
Re: Understanding RMS File Structure
To transfer the data to another operating system, you need to extract the data records, i.e. convert this file to a sequential file, before trying to transfer it to another system.
If there is binary data in the record (e.g. floating point data), more work is probably required.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 06:11 AM
тАО10-27-2006 06:11 AM
Re: Understanding RMS File Structure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 07:11 AM
тАО10-27-2006 07:11 AM
Re: Understanding RMS File Structure
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1071857
>> Understanding RMS File Structure
Start with the VMS Guide to Files.
Check the presentation I mentioned in 1071857
>> I'm looking to transfer file from OpenVMS to Windows based computer.
May we ask WHY? What do you intent to do with the (indexed) file at the windows side.
I suppose someone (me :-) could write a tool to extract records, but that's much easier done on the VMS side! There are no existing access method for RMS indexed file records on Windows best we know.
>> Is there any compressed record on it ?
Yes
>> (If I use ASCII transfert mode, I get some error (file corrupted)).
In ascii mode FTP intruct RMS to go fetch RECORDS (which may contain ascii or binary data). This makes RMS interpret the file, and (apparently) detect a corruption.
>> So, how can I rebuild ASCII structure from Binary one ?
On VMS, with CONVERT.
>> What is the records separator ?
None. Record lengths are user.
>> How is organise an RMS file ?
Records in Buckets. Prologue pointing to Index buckets, Index buckets pointing to Data buckets. Each Data bucket pointing to the locgical next bucket, as well as being pointed to from the index.
Buckets have a header (with next pointer, check bytes, free space indicator)
Records have a header (with flag, original address, data length and key compression counts)
>> Thanks for informations.
You are welcome.
Good luck!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 10:34 AM
тАО10-27-2006 10:34 AM
Re: Understanding RMS File Structure
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 10:48 AM
тАО10-27-2006 10:48 AM
Re: Understanding RMS File Structure
But I was referring to the actual indexed files living on windows. I believe the Sector7 products comes closest. It does RAB's and FAB's, for sequential, relative and block files, but still not RMS indexed files (they do do D-Isam).
Regards,
Hein.
http://www.sector7.com/products_and_services/openvms/vx_tools/vxrms.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:46 PM
тАО12-04-2006 09:46 PM
Re: Understanding RMS File Structure
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 10:50 PM
тАО12-04-2006 10:50 PM
Re: Understanding RMS File Structure
Wim