- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Conversion of RMB files from binary format to ASCI...
Operating System - HP-UX
1821801
Members
3195
Online
109637
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-16-2009 05:19 AM
тАО09-16-2009 05:19 AM
Conversion of RMB files from binary format to ASCII format
Hello,
I have a problem with HP-UX / RMB. I'm relatively new to this subject area, so that I don't have much experience, yet. We have a HP workstation 725/100 that is running HP-UX 10.20 as OS. On this machine we are using Rocky Mountain Basic (RMB) programs to control
a productional silicon wafer test system.
These RMB programs have grown over the past 15 years or so to a huge complex of hundreds of files that many of them have dependencies between them.
As the people that have originally written this programs are no longer in the company, it is now my task to get an overview of the programs and their structure and dependencies
in order to bring them into a state so that it
will be possible to understand what they are doing and porting them to more modern environments, e. g. Linux with current PC hardware.
I would like to browse the RMB program files and their contents with a Windows browser and an editor for being able to change quickly between many files and directories. I therefore
have copied the folder structure containing the
RMB programs from the workstation to my PC over the network connection.
The problem now is that most of the RMB program
files are stored in binary file format (HFSLIF)
rather than in readyble ASCII file format. That means it is only possible to open them and have a look what is inside by using RMB on the workstation. (I have as well HTBasic for
Windows from Transera installed on my PC but that software isn't able to open program files in binary format).
A solution would be to open the program files with the RMB program on the workstation as said and save them again in ASCII file format.
But I don't want to do this for hundreds of files individually !
It would be much easier if there was a way to do a file format conversion from binary to ASCII automatically. My idea was to write a little RMB program that walks through a folder,
loads one program of that folder after the other and saves them sequencely in ASCII format.
The problem now is that when I use the statement
LOAD BIN "example.ppg" from within a RMB program or even from within the editor mode, RMB displays an error message saying "ERROR 810 Feature not supported on BASIC/UX". That means I can't open binary program files from within the RMB environment. Opening program files in ASCII format is possible. It is only possible to open a binary program by using its name as a command line argument, e. g. "rmb example.ppg". This opens RMB and instantly runs
the example.ppg. I can then pause the program from inside RMB and save it manually but that is not what I wanted to do. I want to automate the process of opening and saving the files.
Does anybody have an idea how this could be done ? Or has anyone an answer why I can't open binary files from within RMB ?
Many thanks in advance for your answers.
Best regards
Marco Bauer
- Tags:
- RMB
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 07:41 AM
тАО09-16-2009 07:41 AM
Re: Conversion of RMB files from binary format to ASCII format
Marco,
Looks like you are not the only one with this intention. Please see this thread :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1065177
Having had my first HP workstation experience with RMB Operating System (not amn app running on HPUX mind you) I know the proprietary nature of the environment and how not-automation-friendly it is unless you are *inside* the RMB environment.
If you are looking into converting a very large number of files and have to have some sort of automation, your path is going to go through something like an xwindow inteface on a windows machine, likes of reflectionX, as well as a scripting/automation environment for windows, like autohotkey.
Then it is upto your analytical abilities and programming knowledge to put all of them together to automate your process.
Sorry for being the bearer of the bad news.
Looks like you are not the only one with this intention. Please see this thread :
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1065177
Having had my first HP workstation experience with RMB Operating System (not amn app running on HPUX mind you) I know the proprietary nature of the environment and how not-automation-friendly it is unless you are *inside* the RMB environment.
If you are looking into converting a very large number of files and have to have some sort of automation, your path is going to go through something like an xwindow inteface on a windows machine, likes of reflectionX, as well as a scripting/automation environment for windows, like autohotkey.
Then it is upto your analytical abilities and programming knowledge to put all of them together to automate your process.
Sorry for being the bearer of the bad news.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 11:36 PM
тАО09-16-2009 11:36 PM
Re: Conversion of RMB files from binary format to ASCII format
Hello Mel,
thank you so far for your reply. I feared
that the answer would be something of that
flavour. I guess I'll now have to decide
whether it takes me longer to open and save
all the binary files by hand or to implement
a workaround by using a X-Terminal and Auto-
hotkey or something like that...
Best regards
Marco Bauer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 09:12 AM
тАО09-17-2009 09:12 AM
Re: Conversion of RMB files from binary format to ASCII format
If you still have the RMB machine running, you can use RMB to do the conversion.
Use the command LOAD to read the binary file. Now instead of STORE use SAVE to write it out in ASCII.
Our testing people do this all the time to be able to use standard editors to change a program. You would then use GET to read it back in.
Hope this helps.
Use the command LOAD to read the binary file. Now instead of STORE use SAVE to write it out in ASCII.
Our testing people do this all the time to be able to use standard editors to change a program. You would then use GET to read it back in.
Hope this helps.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP