- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: 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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 10:51 PM
тАО12-04-2006 10:51 PM
Re: Understanding RMS File Structure
http://h71000.www7.hp.com/freeware/freeware60/rms_tools/rms_tuning.ppt
If you have a specific question then can you start a new thread as this makes it easier to find things.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 10:54 PM
тАО12-04-2006 10:54 PM
Re: Understanding RMS File Structure
http://h71000.www7.hp.com/freeware/freeware60/rms_tools/rms_tuning.ppt
If you have a specific question then can you start a new thread as this makes it easier to find things.
See also
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 10:54 PM
тАО12-04-2006 10:54 PM
Re: Understanding RMS File Structure
http://h71000.www7.hp.com/freeware/freeware60/rms_tools/rms_tuning.ppt
If you have a specific question then can you start a new thread as this makes it easier to find things.
See also
http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_005.html#021_indexedfileorganization
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 10:56 PM
тАО12-04-2006 10:56 PM
Re: Understanding RMS File Structure
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 02:18 AM
тАО12-05-2006 02:18 AM
Re: Understanding RMS File Structure
thanks for reply. Presentation is very useful, but there is no information on Prologue and Areas structure.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 02:54 AM
тАО12-05-2006 02:54 AM
Re: Understanding RMS File Structure
That would be because in 25 years playing with RMS indexed files I never found those interting. Just use ANAL/RMS/INT to 'see' the data or extract the defintions from LIB.MLB (or the C version) as:
$libr/extr=$areadef/out=sys$output sys$library:lib.mlb
What problem are you trying to solve?
(and as indicated, perhaps start a fresh topic for the exact problem.)
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 03:05 AM
тАО12-05-2006 03:05 AM
Re: Understanding RMS File Structure
http://www.oooovms.dyndns.org/dix/
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 07:52 PM
тАО12-05-2006 07:52 PM
Re: Understanding RMS File Structure
the problem is following, I have RMS indexed file out of OpenVMS system and I need to extract information from this file for further processing.
I can parse it by myself but I need to know the structure of the file and how data is stored.
Thanks in advance,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 09:33 PM
тАО12-05-2006 09:33 PM
Re: Understanding RMS File Structure
trying to parse an RMS Indexed file on a foreign OS is like trying to reinvent the wheel!
You would get on far quicker by converting the original indexed file to a sequential file before passing it your own system.
If you need more help, please open a new topic, so that you can assign points to the relpies.
Regards,
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 09:33 PM
тАО12-05-2006 09:33 PM
Re: Understanding RMS File Structure
trying to parse an RMS Indexed file on a foreign OS is like trying to reinvent the wheel!
You would get on far quicker by converting the original indexed file to a sequential file before passing it your own system.
If you need more help, please open a new topic, so that you can assign points to the replies.
Regards,
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 10:36 PM
тАО12-05-2006 10:36 PM
Re: Understanding RMS File Structure
grosso mode I endorse the other answers given already.
The reason:
RMS in itself is a fair chunk of the OS itself.
Trying to re-create it (with a reasonable chance of correctness) would be the equivalent of re-writing a big chunk of a robust OS, but now, complicated by the lack of supporting functionality from several kernel functions of the OS!
It would amount to at least a many-manyear efoort.
And all the while, the _DATA_ is also available in plain text format (using any _VMS_ utility, just plain TYPE if you need the content of the whole file), then that may be tranfered using any ASCII tranfer (such as ftp, eg).
Should you so desire, you can import it into any other storing format on the target OS.
But "playing RMS" on a non-VMS platform will be a REALLY TREMENDOUS effort!
Hope this explains some.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 11:48 PM
тАО12-05-2006 11:48 PM
Re: Understanding RMS File Structure
Can you still get to the original system?
Is this a one-shot conversion?
What is it worth to you to get this done?!
By far the easiest would be to rent, beg, steal, borrow an OpenVMS system (DECUS? Deathrow? Testdrive? HP Support? ) and just CONVERT/FDL=NL: to set a sequential file.
(Or maybe FDL="RECORD; FORMAT STREAM_LF" on an 8.3 system. :-)
Reading all the records from an indexed will is not TOO hard though, no knowlege about the index needed, jsut follow the data bucket next pointers and a few tricks with compression. I have some programs, made for OpenVMS which in a pinch would work on Windoze... but why bother. (Here is why... for mere money I'll be happy to adapt them :-).
Pick up DIX for a Fortran program which understands internal structures. In my RMS_TOOLS directory on the freeware you'll find C and BASIC programs which understand the Bucket and Record structures. I believe there is more freeware out there which does.
Regards,
Hein van den Heuvel
HvdH Performance Consulting