Rexx2Nrx *BUGS*

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
Years ago,

   I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.

I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
public.

ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
well as classic Rexx, etc
to *NetRexx* -- and thus Java  :-)

Now, for the final tests,

I will need a *BUG List* for www.Rexx2Nrx.com

Maybe I have not been aware of the bugs, or what ?

Tom.

--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

RE: Rexx2Nrx *BUGS*

measel
RE: [Ibm-netrexx] Rexx2Nrx *BUGS*

There's a bug in the distribution list that won't go away.

-----Original Message-----
From: [hidden email] on behalf of Thomas Schneider
Sent: Mon 7/12/2010 8:54 PM
To: IBM Netrexx; RexxLA Members mailing list
Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*

Years ago,

   I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.

I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
public.

ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
well as classic Rexx, etc
to *NetRexx* -- and thus Java  :-)

Now, for the final tests,

I will need a *BUG List* for www.Rexx2Nrx.com

Maybe I have not been aware of the bugs, or what ?

Tom.

--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
_______________________________________________
Ibm-netrexx mailing list
[hidden email]




_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

rickmcguire
Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:

>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

kenner

I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



Rick McGuire <[hidden email]>
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx <[hidden email]>

To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*





Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Robert L Hamilton
Hear, Hear; And Here's one I would like to see in NetRexx: Rexxtry.rex in 00Rexx 4.0.1 and have been thinking of giving rexx2nrx a try.  And, I see nothing untoward in Tom's palaver . . .

On Tue, Jul 13, 2010 at 7:30 AM, <[hidden email]> wrote:

I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

"I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard."  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



 
 

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Aviatrexx
In reply to this post by kenner
On 7/13/10 12:30 [hidden email] said:
>
> If it weren't for rexx2nrx and reyc, there  would be no
> traffic here at all.

That's not quite true, Ken.  To be fair, there has been precious
little _useful_ rexx2nrx or reyc traffic, just repetitious postings
that is would be available Real Soon Now.

I have a weather radio that turns itself on when there is an alert of
  significant weather.  If I had to leave the volume up all the time
and listen to static (or worse, advertisements) just so I wouldn't
miss an alert, I'd turn it off altogether.

Thomas' posts have been the primary (if not sole) reason the signal to
noise ratio of this "discussion" list dropped well below 1.0 some time
ago.

-Chip-
_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Rexx2Nrx *BUGS*

Davis, James (NIH/CIT) [E]
In reply to this post by kenner

> The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.

 

One approach would be to convert from EXECIO to Stream I/O for TSO/E REXX while still on z/OS, then feed into rexx2nrx.

 

James

 

 

From: [hidden email] [mailto:[hidden email]]
Sent: Tuesday, July 13, 2010 8:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire <[hidden email]>
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx <[hidden email]>

To

IBM Netrexx <[hidden email]>

cc

Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 




Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Fernando Cassia-2
In reply to this post by Aviatrexx
On Tue, Jul 13, 2010 at 1:32 PM, Chip Davis <[hidden email]> wrote:
> On 7/13/10 12:30 [hidden email] said:
>>
>> If it weren't for rexx2nrx and reyc, there  would be no traffic here at
>> all.
>
> That's not quite true, Ken.  To be fair, there has been precious little
> _useful_ rexx2nrx or reyc traffic, just repetitious postings that is would
> be available Real Soon Now.

And what about IBM´s promises that Netrexx would be open source "real
soon now"?.

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Rexx2Nrx *BUGS*

Swinkels, Gilbert
In reply to this post by Aviatrexx
I agree with Chip



-----Original Message-----
From: [hidden email] on behalf of Chip Davis
Sent: Tue 13/07/2010 18:32
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*
 
On 7/13/10 12:30 [hidden email] said:
>
> If it weren't for rexx2nrx and reyc, there  would be no
> traffic here at all.

That's not quite true, Ken.  To be fair, there has been precious
little _useful_ rexx2nrx or reyc traffic, just repetitious postings
that is would be available Real Soon Now.

I have a weather radio that turns itself on when there is an alert of
  significant weather.  If I had to leave the volume up all the time
and listen to static (or worse, advertisements) just so I wouldn't
miss an alert, I'd turn it off altogether.

Thomas' posts have been the primary (if not sole) reason the signal to
noise ratio of this "discussion" list dropped well below 1.0 some time
ago.

-Chip-
_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]


winmail.dat (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Rexx2Nrx *BUGS*

measel
In reply to this post by kenner

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.   

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Tuesday, July 13, 2010 7:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire <[hidden email]>
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx <[hidden email]>

To

IBM Netrexx <[hidden email]>

cc

Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 




Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx

Thomas.Schneider.Wien
In reply to this post by kenner

 Hi Kenneth,
*many thanks for the kind words* :-)

I do have a very important presentation tomorrow, so *no time* to reply in detail.

Anyway,
*Thanks*
==================================================================================
Am 13.07.2010 14:30, schrieb [hidden email]

I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



Rick McGuire [hidden email]
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx [hidden email]

To
IBM Netrexx [hidden email]
cc

Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*







Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike [hidden email] wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________ Ibm-netrexx mailing list [hidden email]


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Robert L Hamilton
In reply to this post by measel
This would be an interezting excercize: CONVERT EXECIO TO netrexx and to JAVA


NO???9


bobh

Sent from my iPhone
Enjoy your day
Bob Hamilton

On Jul 13, 2010, at 2:09 PM, "Measel, Mike" <[hidden email]> wrote:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.   

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Tuesday, July 13, 2010 7:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire <[hidden email]>
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx <[hidden email]>

To

IBM Netrexx <[hidden email]>

cc

Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 




Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
In reply to this post by measel
Hello Mike,
   I did invent the *wheel* (Rexx2Nrx) back in 2002, as I think :-)
Sorry to say....
==================================================================
Am 13.07.2010 21:09, schrieb Measel, Mike:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.   

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent: Tuesday, July 13, 2010 7:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire [hidden email]
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx [hidden email]

To

IBM Netrexx [hidden email]

cc


Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 






Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike [hidden email] wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________ Ibm-netrexx mailing list [hidden email]


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
In reply to this post by Fernando Cassia-2
Rexx2Nrx is availabe since 2002 or so on www.Rexx2Nrx.com
No reported bugs ...
Thomas Schneider.
========================================================
Am 13.07.2010 19:24, schrieb Fernando Cassia:

> On Tue, Jul 13, 2010 at 1:32 PM, Chip Davis<[hidden email]>  wrote:
>    
>> On 7/13/10 12:30 [hidden email] said:
>>      
>>> If it weren't for rexx2nrx and reyc, there  would be no traffic here at
>>> all.
>>>        
>> That's not quite true, Ken.  To be fair, there has been precious little
>> _useful_ rexx2nrx or reyc traffic, just repetitious postings that is would
>> be available Real Soon Now.
>>      
> And what about IBM´s promises that Netrexx would be open source "real
> soon now"?.
>
> FC
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>    


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
In reply to this post by Davis, James (NIH/CIT) [E]
*I* do already have a working version of EXECIO on my desk....

*BUT*, as I did bootstrap all of my soft from classic Rexx to NetRexx,
(using www.Rexx2Nrx.com, in turn)
** and there are still *BUGS* **

I cannot release it!

You understand please ...
Tom.
=========================================================

Am 13.07.2010 18:57, schrieb Davis, James (NIH/CIT) [E]:

> The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.

 

One approach would be to convert from EXECIO to Stream I/O for TSO/E REXX while still on z/OS, then feed into rexx2nrx.

 

James

 

 

From: [hidden email] [[hidden email]]
Sent: Tuesday, July 13, 2010 8:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire [hidden email]
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx [hidden email]

To

IBM Netrexx [hidden email]

cc


Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 






Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike [hidden email] wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________ Ibm-netrexx mailing list [hidden email]


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
In reply to this post by Robert L Hamilton
That's what I did try to make ... :-) :-) :-)
Thomas.
=========================================================================
Am 15.07.2010 00:19, schrieb [hidden email]
This would be an interezting excercize: CONVERT EXECIO TO netrexx and to JAVA


NO???9


bobh

Sent from my iPhone
Enjoy your day
Bob Hamilton

On Jul 13, 2010, at 2:09 PM, "Measel, Mike" <[hidden email]> wrote:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.   

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent: Tuesday, July 13, 2010 7:30 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.

I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]


Rick McGuire <[hidden email]>
Sent by: [hidden email]

07/13/2010 07:58 AM

Please respond to
IBM Netrexx <[hidden email]>

To

IBM Netrexx <[hidden email]>

cc


Subject

Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 






Yes, not only another unsolicited advertisement, but another cross
post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From: [hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________ Ibm-netrexx mailing list [hidden email]


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

kenner
In reply to this post by Robert L Hamilton

I've already done that. Here you can compare the code. The execio rexx runs on z/os thru 1.10. The line I/O version runs on Windoze and back on z/os unix. I write the file back out in both cases as well.  

"ALLOC FI(CALENDAR) DA(CALENDAR) SHR"                              
arg lineout                                                        
if substr(lineout,1,1) = '?' then call helprtn                    
    else if substr(lineout,1,4) = 'help' then call helprtn        
    ELSE IF SUBSTR(LINEOUT,1,4) = 'HELP' THEN CALL HELPRTN        
if length(lineout) > 4 then do                                    
    say 'This procedure has read : '                              
    say '"' lineout '"'                                            
    say 'from the command line, skipping history display.'        
    call insrtn                                                    
    "FREE   FI(CALENDAR)"                                          
    exit                                                          
    end                                                            
/************ browse and display matching dates ******************/
"EXECIO * DISKR CALENDAR (FINIS"                                  
IF RC ^= 0 THEN                                                    
DO                                                                
    SAY 'THERE IS A PROBLEM WITH YOUR CALENDAR DATASET.'          
    SAY 'BE SURE YOU HAVE A MEMBER IN'                            
    SAY 'YOUR -USERID.JOB.CNTL- FILE CALLED -CALENDAR-    '        
    EXIT                                                          
END                                                                
tot_records = queued()                                            
SAY QUEUED() 'RECORDS READ FROM CALENDAR MEMBER.'                  


/*********************** MAIN *****************************/
    62  method main(args=String[]) static
    63      arg=Rexx(args) -- program arguments as single string
    64      arg=arg -- avoid NetRexx warning
    65      ret_code = 0
    66      TODADATE = RexxTime.date('O')
    67      WEEKDAY = RexxTime.date('W').substr(1,3)
    68      TODAMONT = TODADATE.substr(4,2)
    69      TODADAY = TODADATE.substr(7,2)
    70      THISYEAR = TODADATE.substr(1,2)
    71      SUNDATE = TODADAY + 3
    72      NOWTIME = RexxTime.time('C').substr(1,13)
    73      say 'Today''s date seems to be: ' TODADATE
    74      /* Open and check the file */
    75      do -- mainline; open file, check for new input, search the whole file if need be
    76          inhandle=BufferedReader(InputStreamReader(FileInputStream(File_to_RW)))
    77          say 'Processing infile' File_to_RW
    78          catch e=IOException
    79              say '# error opening file' e.getMessage
    80              say 'There is a problem with your calendar dataset.'
    81              say 'Be sure you have a file in'
    82              say 'Your home directory called calendar.txt.'
    83          exit
    84      end
    85      linesep=System.getProperty('line.separator') -- be platform-neutral
    86  /***    get a line from the user and see what s/he wants to do    */
    87  trace off
    88      parse arg.upper() term_input
    89      say term_input 'Read from command line.'
    90      if (term_input = 'HELP') | (term_input = 'HEL') | -
    91         (term_input = 'HE') | -
    92         (term_input = 'h') | -
    93         (term_input = '?') then do; helprtn()
    94      end--if
    95  trace off
    96      if term_input.length() > 4 then do
    97        Say 'This procedure has read : '
    98        say '"' term_input '"'
    99        say 'from the command line, skipping history display.'
   100        insrtn()
   101        exit
   102      end--if
   103  /************ browse and display matching dates *****************   */
   104      say 'Starting the search for todays important entries at:' NOWTIME
   105      loop linenum=1  by 1 -- run thru the whole file looking for matches
   106          line= inhandle.readLine -- get next line ^BAas Rexx string^BB
   107          if line=null then leave linenum
   108          tot_records = tot_records + 1


Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



[hidden email]
Sent by: [hidden email]

07/14/2010 06:40 PM

Please respond to
IBM Netrexx <[hidden email]>

To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*





This would be an interezting excercize: CONVERT EXECIO TO netrexx and to JAVA


NO???9


bobh

Sent from my iPhone

Enjoy your day
Bob Hamilton

On Jul 13, 2010, at 2:09 PM, "Measel, Mike" <
Mike.Measel@...> wrote:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.    

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of kenneth.klein@...
Sent:
Tuesday, July 13, 2010 7:30 AM
To:
IBM Netrexx
Subject:
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.


I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  


Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)

kenneth.klein@...

Rick McGuire <object.rexx@...>
Sent by:
[hidden email][hidden email]

07/13/2010 07:58 AM


Please respond to
IBM Netrexx <
[hidden email]>


To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 






Yes, not only another unsolicited advertisement, but another cross

post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <
Mike.Measel@...> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From:
[hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (
www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for
www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on
www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email][hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email][hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list

[hidden email]

_______________________________________________
Ibm-netrexx mailing list

[hidden email]
_______________________________________________
Ibm-netrexx mailing list
[hidden email]


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

kenner
In reply to this post by Thomas.Schneider.Wien

My experience with rexx2nrx converting the execio commands was ending up with functions in the nexxrexx code that could not be found. Maybe I was missing a library to include.

Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



Thomas Schneider <[hidden email]>
Sent by: [hidden email]

07/14/2010 06:48 PM

Please respond to
[hidden email]; Please respond to
IBM Netrexx <[hidden email]>

To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*





That's what I did try to make ... :-) :-) :-)
Thomas.
=========================================================================
Am 15.07.2010 00:19, schrieb
bobh.mail@...:
This would be an interezting excercize: CONVERT EXECIO TO netrexx and to JAVA


NO???9


bobh

Sent from my iPhone

Enjoy your day
Bob Hamilton

On Jul 13, 2010, at 2:09 PM, "Measel, Mike" <
Mike.Measel@...> wrote:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.   

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [[hidden email]] On Behalf Of kenneth.klein@...
Sent:
Tuesday, July 13, 2010 7:30 AM
To:
IBM Netrexx
Subject:
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.


I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  


Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)

kenneth.klein@...

Rick McGuire <object.rexx@...>
Sent by:
[hidden email]

07/13/2010 07:58 AM


Please respond to
IBM Netrexx <
[hidden email]>


To
IBM Netrexx <[hidden email]>
cc
Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 






Yes, not only another unsolicited advertisement, but another cross

post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <
Mike.Measel@...> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From:
[hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (
www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for
www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on
www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list

[hidden email]

_______________________________________________
Ibm-netrexx mailing list

[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]

 



--
Thomas Schneider Projects ReyC & LOGOS on
www.KENAI.com_______________________________________________
Ibm-netrexx mailing list
[hidden email]



_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Rexx2Nrx *BUGS*

Thomas.Schneider.Wien
In reply to this post by kenner
Hello Kenneth
  I'm sorry to ay that the*ALLOC* and *EXECIO* commands are +NOT YET SUPPORTED+
by the official Rexx2Nrx release on www.Rexx2Nrx.com.

  My private version *does support it*, but I cannot currently release it due to some other
bugs, indroduced by the port from classic Rexx to NetRexx (my own faults, sorry)


Hence, either you currently re-vamp the I/O statements (EXECIO, ALLOC, etc)
*or yould have the need to wait a little while.....

Say until end of July, for the current minute...

Thomas.
==================================================================================

Am 15.07.2010 14:18, schrieb [hidden email]

I've already done that. Here you can compare the code. The execio rexx runs on z/os thru 1.10. The line I/O version runs on Windoze and back on z/os unix. I write the file back out in both cases as well.  

"ALLOC FI(CALENDAR) DA(CALENDAR) SHR"                              
arg lineout                                                        
if substr(lineout,1,1) = '?' then call helprtn                    
    else if substr(lineout,1,4) = 'help' then call helprtn        
    ELSE IF SUBSTR(LINEOUT,1,4) = 'HELP' THEN CALL HELPRTN        
if length(lineout) > 4 then do                                    
    say 'This procedure has read : '                              
    say '"' lineout '"'                                            
    say 'from the command line, skipping history display.'        
    call insrtn                                                    
    "FREE   FI(CALENDAR)"                                          
    exit                                                          
    end                                                            
/************ browse and display matching dates ******************/
"EXECIO * DISKR CALENDAR (FINIS"                                  
IF RC ^= 0 THEN                                                    
DO                                                                
    SAY 'THERE IS A PROBLEM WITH YOUR CALENDAR DATASET.'          
    SAY 'BE SURE YOU HAVE A MEMBER IN'                            
    SAY 'YOUR -USERID.JOB.CNTL- FILE CALLED -CALENDAR-    '        
    EXIT                                                          
END                                                                
tot_records = queued()                                            
SAY QUEUED() 'RECORDS READ FROM CALENDAR MEMBER.'                  


/*********************** MAIN *****************************/
    62  method main(args=String[]) static
    63      arg=Rexx(args) -- program arguments as single string
    64      arg=arg -- avoid NetRexx warning
    65      ret_code = 0
    66      TODADATE = RexxTime.date('O')
    67      WEEKDAY = RexxTime.date('W').substr(1,3)
    68      TODAMONT = TODADATE.substr(4,2)
    69      TODADAY = TODADATE.substr(7,2)
    70      THISYEAR = TODADATE.substr(1,2)
    71      SUNDATE = TODADAY + 3
    72      NOWTIME = RexxTime.time('C').substr(1,13)
    73      say 'Today''s date seems to be: ' TODADATE
    74      /* Open and check the file */
    75      do -- mainline; open file, check for new input, search the whole file if need be
    76          inhandle=BufferedReader(InputStreamReader(FileInputStream(File_to_RW)))
    77          say 'Processing infile' File_to_RW
    78          catch e=IOException
    79              say '# error opening file' e.getMessage
    80              say 'There is a problem with your calendar dataset.'
    81              say 'Be sure you have a file in'
    82              say 'Your home directory called calendar.txt.'
    83          exit
    84      end
    85      linesep=System.getProperty('line.separator') -- be platform-neutral
    86  /***    get a line from the user and see what s/he wants to do    */
    87  trace off
    88      parse arg.upper() term_input
    89      say term_input 'Read from command line.'
    90      if (term_input = 'HELP') | (term_input = 'HEL') | -
    91         (term_input = 'HE') | -
    92         (term_input = 'h') | -
    93         (term_input = '?') then do; helprtn()
    94      end--if
    95  trace off
    96      if term_input.length() > 4 then do
    97        Say 'This procedure has read : '
    98        say '"' term_input '"'
    99        say 'from the command line, skipping history display.'
   100        insrtn()
   101        exit
   102      end--if
   103  /************ browse and display matching dates *****************   */
   104      say 'Starting the search for todays important entries at:' NOWTIME
   105      loop linenum=1  by 1 -- run thru the whole file looking for matches
   106          line= inhandle.readLine -- get next line ^BAas Rexx string^BB
   107          if line=null then leave linenum
   108          tot_records = tot_records + 1


Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)
[hidden email]



[hidden email]
Sent by: [hidden email]

07/14/2010 06:40 PM

Please respond to
IBM Netrexx [hidden email]

To
IBM Netrexx [hidden email]
cc

Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*







This would be an interezting excercize: CONVERT EXECIO TO netrexx and to JAVA


NO???9


bobh

Sent from my iPhone

Enjoy your day
Bob Hamilton

On Jul 13, 2010, at 2:09 PM, "Measel, Mike" <
[hidden email]> wrote:

“…converting the EXECIO commands to linein/lineout, which should not be that hard…”   lol.

 

First, It’s just wrong to blindly convert Rexx to directly to NRX.  Spend 15 minutes learning the java libs that are already available and don’t re-invent the wheel.    

 

Start with this package – has goodies to do MVS stuff – (like WTO!, writing to SDSF, PDS lister)

http://www.ibm.com/developerworks/java/zos/javadoc/jzos/index.html

 

Also, this is a good short read on the gotchas of code pages, etc.

 

http://www-03.ibm.com/systems/z/os/zos/tools/java/faq/javafaq.html#ascii

 

 

 

From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent:
Tuesday, July 13, 2010 7:30 AM
To:
IBM Netrexx
Subject:
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 


I, for one, am happy that Thomas is interested in netrexx and doing something with it. It aint like the traffic on this list is busy doing anything else. If it weren't for rexx2nrx and reyc, there  would be no traffic here at all.


I have been able to take a rexx script that ran on a windoze machine and port it over to netrexx with rexx2nrx and generate the byte code. This byte code runs on windoze and mvs. I can take the netrexx code and compile it with NetRexxC on mvs and it runs on mvs and back on the windoze box. I think that is pretty cool. I still had to do a lot of conversion by hand after using rexx2nrx but that is how I am learning rexx/netrexx/java. I am interested in furthering this project as a means of creating java byte code that can run anywhere.  The biggest challenge at the moment is converting the EXECIO commands to linein/lineout, which should not be that hard.  


Kenneth Klein
Systems Specialist
502-868-3644
859-750-5179 (Cell)
502-868-2298 (Fax)

[hidden email]

Rick McGuire <[hidden email]>
Sent by:
[hidden email]

07/13/2010 07:58 AM


Please respond to
IBM Netrexx <
[hidden email]>


To
IBM Netrexx <[hidden email]>
cc

Subject
Re: [Ibm-netrexx] Rexx2Nrx *BUGS*

 








Yes, not only another unsolicited advertisement, but another cross

post as well.  Both of which Thomas has promised never to do again.

Rick

On Tue, Jul 13, 2010 at 7:27 AM, Measel, Mike <
[hidden email]> wrote:
>
> There's a bug in the distribution list that won't go away.
>
> -----Original Message-----
> From:
[hidden email] on behalf of Thomas Schneider
> Sent: Mon 7/12/2010 8:54 PM
> To: IBM Netrexx; RexxLA Members mailing list
> Subject: [Ibm-netrexx] Rexx2Nrx *BUGS*
>
> Years ago,
>
>    I did deploy Rexx2Nrx (
www.Rexx2Nrx.com) to the public.
>
> I'm now *trying* to deploy ReyC, the Rey Compiler, by 01.09.2010 to the
> public.
>
> ReyC will, in addition to Rexx2Nrx, try to compile COBOL and PL/I as
> well as classic Rexx, etc
> to *NetRexx* -- and thus Java  :-)
>
> Now, for the final tests,
>
> I will need a *BUG List* for
www.Rexx2Nrx.com
>
> Maybe I have not been aware of the bugs, or what ?
>
> Tom.
>
> --
> Thomas Schneider Projects ReyC & LOGOS on
www.KENAI.com
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email]
>
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
>
[hidden email]
>
>
>

_______________________________________________
Ibm-netrexx mailing list

[hidden email]

_______________________________________________
Ibm-netrexx mailing list

[hidden email]
_______________________________________________
Ibm-netrexx mailing list
[hidden email]

_______________________________________________ Ibm-netrexx mailing list [hidden email]


--
Thomas Schneider Projects ReyC & LOGOS on www.KENAI.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)