- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Replacing VMS mailbox concept in HP-UX
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
08-22-2005 06:01 PM
08-22-2005 06:01 PM
I am migrating from VAX server to HP-UX server.In VAX i have used mailbox to store incoming data from the Clients.How to replace this mailbox concept in HP-UX?
Pls help me out.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:01 PM
08-22-2005 07:01 PM
Re: Replacing VMS mailbox concept in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:45 PM
08-22-2005 07:45 PM
Re: Replacing VMS mailbox concept in HP-UX
I think here nobody is able to help you because we are expert of VMS no Unix.
Unix uses pipe to connect two processes. Pipe is like a mailbox but with some limitations. For example, in unix both processes have to be running to comunicate each to other (pipe is merely an i/o channel) while vms mailbox keeps record until receiver process read from it.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:07 PM
08-22-2005 08:07 PM
Re: Replacing VMS mailbox concept in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:11 PM
08-22-2005 08:11 PM
Re: Replacing VMS mailbox concept in HP-UX
What exactly i am doing is i am getting a buffer with data from another m/c running qnx and storing that buffer data in the mailbox and accessing that mailbox through a fortran file.Is there any storing method now to save the buffer data in HP-UX and access that data from that stored method.
Please help me out sir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:56 PM
08-22-2005 08:56 PM
Solutionhttp://forums1.itrc.hp.com/service/forums/familyhome.do?familyId=117
If you want to store buffer in vms mailbox, you can just use a mailbox. Record is avaiable until receiver process read from it.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:59 PM
08-22-2005 08:59 PM
Re: Replacing VMS mailbox concept in HP-UX
If you are looking for something a bit more robust, i.e. looking for guaranteed delivery, in order sequencing etc. Consider MQ (Either Bea MessageQ or IBM MQSeries)
p.s. why in goodnesses name are you writing in Fortran? Not that I don't like Fortran, but if you are doing a migration, you may want to consider something more portable, with a bigger maintenance skill base etc...
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 09:00 PM
08-22-2005 09:00 PM
Re: Replacing VMS mailbox concept in HP-UX
- an OpenVMS mailbox works as a record-oriented device, by default.
- a PIPE is a stream-oriented device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 12:17 AM
08-23-2005 12:17 AM
Re: Replacing VMS mailbox concept in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 01:45 AM
08-23-2005 01:45 AM
Re: Replacing VMS mailbox concept in HP-UX
The natural replace for mailbox IO on VMS with something on Unix (any Unix) is "fifo's"
Ckeck out the Unix man pages for mknod.
However... while you are re-implementing you may want to consider to switch to sockets and use tcp to communicate, allowing client en server application to live on distinct nodes some day.
Of course the recommended upgrade from a VAX is an Alpha or Itanium OpenVMS server. You should be able to save a bundle of porting costs that way :-).
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 03:02 AM
08-23-2005 03:02 AM
Re: Replacing VMS mailbox concept in HP-UX
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 03:05 AM
08-23-2005 03:05 AM
Re: Replacing VMS mailbox concept in HP-UX
You can always encapsulate your 'records' in a protocol if you switch to a streams device. I have never tried it, so I assume it's pretty easy ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 03:28 AM
08-23-2005 03:28 AM
Re: Replacing VMS mailbox concept in HP-UX
However, if you have to write code for vms and unix platforms, I'm with Hein: you have to use socket programming.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 09:59 AM
08-23-2005 09:59 AM
Re: Replacing VMS mailbox concept in HP-UX
Prototype using something simple to code and debug, refine later if necessary.
Also, when you come to your senses and port back to OpenVMS, you just plug in the OpenVMS implementation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2005 01:57 PM
08-23-2005 01:57 PM
Re: Replacing VMS mailbox concept in HP-UX
Of course, as I have often said, when watching people in a headlong rush to move from the stable VMS platform to Unix or Windows (because some Journalist thinks it's a good idea), VMS because of it's design, was one of the first O/S's to gain Unix Systems Standards Certification.
I have often counselled folks heading in that direction to enhance their software running in a VMS environment to encapsulate the few core VMS'isms, and things that use specific features - Then, and only then, to migrate if appropriate to a different platform.
Sometime back, when I was heavily involved in Migrating client code from VAX to Alpha, we would routinely cross-test by attempting cross-compiles on different O/S. From the number of "errors" reported, which actually got a good feel for the skill level of the original developers...
Good code is more about maintainability then innovation or performance, or bells and whistles, or what platform it runs on.