- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Migration from OpenVMS(DCL Scripts) To Linux(Pytho...
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
тАО02-08-2010 04:34 AM
тАО02-08-2010 04:34 AM
Migration from OpenVMS(DCL Scripts) To Linux(Python)
what is the major key word/point need to be kept in mind at the same time when planning to migrate from OpenVMS(DCL Scripts) To Linux(Python)
Note: Please share your exp if any buddy has involved in the same kind of activity ever.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 05:17 AM
тАО02-08-2010 05:17 AM
Re: Migration from OpenVMS(DCL Scripts) To Linux(Python)
You can try to rewrite your Dcl scripts in Python for VMS, and then, the remaining work will be easy, compared to a DCl to bash conversion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 06:50 AM
тАО02-08-2010 06:50 AM
Re: Migration from OpenVMS(DCL Scripts) To Linux(Python)
2: You're asking the wrong folks for help here. You want and centrally need to ask the folks that are familiar with and that know how to use Linux and bash and python. You're designing for a wholly new environment, and force-fitting an OpenVMS design or an OpenVMS solution or OpenVMS DCL structures will be somewhere between problematic and a maintenance headache and outright failure.
3: Google is your friend.
http://www.google.com/search?q=site%3Aitrc.hp.com+port+dcl+bash
http://labs.hoffmanlabs.com/node/225
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 01:26 PM
тАО02-08-2010 01:26 PM
Re: Migration from OpenVMS(DCL Scripts) To Linux(Python)
OpenVMS is not Linux, Linux is not OpenVMS. DCL is not Python, Python is not DCL.
Some things are easy to do on OpenVMS and hard on Linux, other things are easy to do on Linux, but hard on OpenVMS. Similarly for DCL and Python, (or Perl, or C, or C++).
Typically DCL is different enough from scripting languages in the Unix world, that there's very little point in attempting a one for one translation. Much better to step back, look at the function of the procedure, and reimplement it in "the way" of the target system. Attempting to force fit OpenVMS ways of doing things is a path to frustration and failure.
(I've reimplemented some DCL procedures in Perl, halving the size and improving the run time 10 fold, just because the function is suited to Perl's strengths. Other DCL procedures in Perl can very difficult, slow, or just don't make sense).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2010 09:43 PM
тАО02-08-2010 09:43 PM
Re: Migration from OpenVMS(DCL Scripts) To Linux(Python)
Even the use of batch queues can be substituted with diligent use of "at" or a special cron account. Won't be exactly the same, of course, but it will suffice.
No doubt the logic inside a DCL script can be ported to Python, but the interaction with the OS is the most important (and difficult) aspect.
As Hoff says, you need to take this "project" and start from scratch, pulling apart each DCL script and seeing how it can be transposed onto Linux. If you don't you will go nowhere; fast.