Converting classic Rexx to Unix script or code 
Author Message
 Converting classic Rexx to Unix script or code

We are decomissioning a VM server, and need to port some (old)
functionality currently implemented in Rexx. The target server is Sun
Unix. Our deadline is the end of 2003, and the Rexx is only part of
the project.

The functionality is (surprise) barely documented, and not many people
here know any Rexx at all.

What are my options, and have you tried these solutions yourself on any
large scale?  Ideally it will be 100% automated, foolproof, and output
robust well-documented perl or Java. :-)

thanks for your help

--
Posted via http://www.*-*-*.com/



Tue, 05 Apr 2005 03:41:51 GMT  
 Converting classic Rexx to Unix script or code

Quote:
> We are decomissioning a VM server, and need to port some (old)
> functionality currently implemented in Rexx. The target server is Sun
> Unix. Our deadline is the end of 2003, and the Rexx is only part of
> the project.

> The functionality is (surprise) barely documented, and not many people
> here know any Rexx at all.

> What are my options, and have you tried these solutions yourself on any
> large scale?  Ideally it will be 100% automated, foolproof, and output
> robust well-documented perl or Java. :-)

Note that there /are/ REXX interpreters that run on Unix, notably
Regina.

And the likelihood of something gnerating "robust well-documented Perl
or Java" strikes me as being a far sight past "wishful."  I'd expect a
tool writing Perl code would generate results beyond frightening...
--

http://cbbrowne.com/info/multiplexor.html
Yes, for sparkling white chip prints, use low SUDSing DRAW....



Tue, 05 Apr 2005 05:38:32 GMT  
 Converting classic Rexx to Unix script or code
|> We are decomissioning a VM server, and need to port some (old)
|> functionality currently implemented in Rexx. The target server is Sun
|> Unix. Our deadline is the end of 2003, and the Rexx is only part of
|> the project.
|>
|> The functionality is (surprise) barely documented, and not many people
|> here know any Rexx at all.
|>
|> What are my options, and have you tried these solutions yourself on any
|> large scale?  Ideally it will be 100% automated, foolproof, and output
|> robust well-documented perl or Java. :-)
|
| Note that there /are/ REXX interpreters that run on Unix, notably
| Regina.
|
| And the likelihood of something gnerating "robust well-documented Perl
| or Java" strikes me as being a far sight past "wishful."  I'd expect a
| tool writing Perl code would generate results beyond frightening...

If you are trying to get off a VM/CMS system, and not many people know REXX,
you can be sure not many people there know CMS either.  Without people who
know how CMS (and REXX) works, you have more problems than a simple (?)
language convertor can handle. ___________________________________Gerard S.



Tue, 05 Apr 2005 06:15:32 GMT  
 Converting classic Rexx to Unix script or code

Quote:

>We are decomissioning a VM server, and need to port some (old)
>functionality currently implemented in Rexx. The target server is Sun
>Unix. Our deadline is the end of 2003, and the Rexx is only part of
>the project.

That's a shortcut. You'll never will migrate from VM to unix in only 15
month...

Quote:
>The functionality is (surprise) barely documented, and not many people
>here know any Rexx at all.

Sounds that you need an expert (obviously external)...

Quote:
>What are my options, and have you tried these solutions yourself on any
>large scale?  Ideally it will be 100% automated, foolproof, and output
>robust well-documented perl or Java. :-)

No chance to get it 100% magically. When we migrated from VM to OS/2,
we had to redesign most of it and need to give up some (e.g. the mail

from OS/2 to Unix which required again redesign from scratch due to now
senseless interfaces (RXsock, RXUtil, LSrxUtil, RxFTP, etc...).
Meanwhile, some people cared about some of these ex-OS/2 interfaces to
(at least) linux or made it Open-Source...

(Fortunately, I learned REXX on VM/370 natively. BTW.: I learned much
from the inventor of LISTSERV which was completely written in REXX (Eric
Thomas) in the late 80s. The rest of the Rexx-story was written down in
the "OS/2 Technical Library, Procedures Language 2/REXX Reference,
Version 2.00, 1st edition 1991"), from which I learned the new I/O
features...

From my point of view (at least worth 2cts :-) you have no real chance
to migrate conveniently from VM to Unix without help from a specialist.
There are too many routines bound to VM like EXECIO, etc. There will be
to many direct references to the filesystem like "FileName = 'fn' 'ft'
'fm'". Simply think about an automaton which translates this notation
into a proper UNIX notation like "$INSTALLER/usr/local/fn.ft.fm" which
should work immediately without errors or notification...

What side-effects you must count in?

I strongly recommend to employ a Rexx-specialist for your migration
project...

Be careful,
-wolfram



Tue, 05 Apr 2005 06:51:32 GMT  
 Converting classic Rexx to Unix script or code
Hello,

I know both VM/370 through VM/ESA and Sun Solaris 2.X. I'm an expert in REXX
(multiple platforms not just VM) and good at Unix Shell scripts, Perl, and
other Sun based systems. I am also very good to great at documentation of
code and manuals.

As for what the best method (e.g. REXX under Unix, Perl, Java, Unix scripts,
or a combination), it really depends upon what a person discovers when
looking at the requirements and existing code.

I am available for contracts. While my resume is for a Sr. Oracle DBA
position, doing this work would not present a problem. I can share examples
of my REXX coding and documentation with you.

Assuming you have remote (e.g. VPN or alike) access, a person would be able
to review the code and requirements. This would be a good first step to
determining the size of the project.

Bert Moshier

http://www.bmoshier.net/bertram


Quote:

> We are decomissioning a VM server, and need to port some (old)
> functionality currently implemented in Rexx. The target server is Sun
> Unix. Our deadline is the end of 2003, and the Rexx is only part of
> the project.

> The functionality is (surprise) barely documented, and not many people
> here know any Rexx at all.

> What are my options, and have you tried these solutions yourself on any
> large scale?  Ideally it will be 100% automated, foolproof, and output
> robust well-documented perl or Java. :-)

> thanks for your help

> --
> Posted via http://dbforums.com



Tue, 05 Apr 2005 11:32:56 GMT  
 Converting classic Rexx to Unix script or code

Quote:



> |> We are decomissioning a VM server, and need to port some (old)
> |> functionality currently implemented in Rexx. The target server is Sun
> |> Unix. Our deadline is the end of 2003, and the Rexx is only part of
> |> the project.
> |>
> |> The functionality is (surprise) barely documented, and not many people
> |> here know any Rexx at all.
> |>
> |> What are my options, and have you tried these solutions yourself on any
> |> large scale?  Ideally it will be 100% automated, foolproof, and output
> |> robust well-documented perl or Java. :-)
> |
> | Note that there /are/ REXX interpreters that run on Unix, notably
> | Regina.
> |
> | And the likelihood of something gnerating "robust well-documented Perl
> | or Java" strikes me as being a far sight past "wishful."  I'd expect a
> | tool writing Perl code would generate results beyond frightening...

> If you are trying to get off a VM/CMS system, and not many people know REXX,
> you can be sure not many people there know CMS either.  Without people who
> know how CMS (and REXX) works, you have more problems than a simple (?)
> language convertor can handle. ___________________________________Gerard S.

You're right; that's the /real/ issue.

If they don't have anyone around that really understands the mainframe
system, there's no hope of figuring out what to replace it with.

"Sandy91" should get right on the /important/ tasks, namely seeing
what training opportunities can be found between now and mid-2003, and
preparing a resume to help with the process of bailing out before the
project gets so noticeably off track that the experiences would throw
a huge cloud over the resume...
--

http://cbbrowne.com/info/
"This must be Thursday.  I never could get the hang of Thursdays."
- Arthur Dent



Tue, 05 Apr 2005 13:52:44 GMT  
 Converting classic Rexx to Unix script or code

Quote:


> >We are decomissioning a VM server, and need to port some (old)
> >functionality currently implemented in Rexx. The target server is Sun
> >Unix. Our deadline is the end of 2003, and the Rexx is only part of
> >the project.

> That's a shortcut. You'll never will migrate from VM to unix in only 15
> month...

> >The functionality is (surprise) barely documented, and not many people
> >here know any Rexx at all.

> Sounds that you need an expert (obviously external)...

> >What are my options, and have you tried these solutions yourself on any
> >large scale?  Ideally it will be 100% automated, foolproof, and output
> >robust well-documented perl or Java. :-)

Hello Wolfram,
  you might want to have look at my Rexx2Nrx 'classic Rexx to NetRexx' converter.

I actually developped and used it to translate all of my CMS Rexx code to
NetRexx, and thus to Java.

  You will find details on my home page: www.Rexx2Nrx.com

  If I may further help you in your project, give me a mail.

best regards,
Thomas Schneider



Tue, 05 Apr 2005 15:53:17 GMT  
 Converting classic Rexx to Unix script or code


Quote:
>The functionality is (surprise) barely documented, and not many
>people here know any Rexx at all.

How many know CMS or GCS?

Quote:
>What are my options,

Perl, Python, Ruby. Or get Regina and keep the REXX part intact.

--
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2, Team OS/2, Team PL/I

Any unsolicited commercial junk E-mail will be subject to legal
action.  I reserve the right to publicly post or ridicule any
abusive E-mail.

I mangled my E-mail address to foil automated spammers; reply to
domain Patriot dot net user shmuel+news to contact me.  Do not



Tue, 05 Apr 2005 19:57:08 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. REXX CGI scripts under UNIX with Regina REXX

2. problems converting unix code to linux code (direct access files)

3. Classic Rexx vs. Object Rexx

4. Classic REXX, Object REXX

5. Rexx Macro Space on Classic OS/2 Rexx

6. Object REXX vs. Classic REXX

7. Classic REXX versus Object REXX - Is the language losing

8. Converting Rexx from IBM VM/CMS to Unix

9. Converting Csh Scripts to REXX

10. REXX vs. Unix shell scripts

11. Run UNIX from rexx script

12. using Rexx to run a Unix script from NT

 

 
Powered by phpBB® Forum Software