NetRexx .Net

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

NetRexx .Net

measel

Would any of you be interested in working on a parallel fork to have NetRexx running native in .Net ?

 

And would there be sufficient value in doing so ?

 

My personal interest is in being able to interact directly with windows components like you can do in powershell.  I’d like to use NetRexx directly from powershell and vice-versa.

 

.Net code looks suspiciously like java.

 

Perhaps Sir Thomas could write a translator.  ( oh god what have I started…)


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

ThSITC
I did discuss with *Sir* Mike F. Cowlishaw (when I do remember correctly, back in 2006 or so,
the ability to Geneate C# Source Code *instead* of Java Source Code based on the NetRexx Language... ;-)

That's actually what PP (The Program Porting Machine, (c) ThSITC, 2012, is all about ... :-)

ACCEPT any SOURCE Language (as C, C++, C#, Rexx, ooRexx, NetRexx, PL/I, COBOL, Pascal, or whatever ...)

    *AND*

TRANSLATE it to any desired *TARGET Language* (see above ;-)

... Solving the so called UNCOL Problem (UNCOL ::= The Unicversal COMPILER, when I did study Technical
Mathematics back from 1964, said to be UNSOLVABLE, by the Authorities then ...)

***************************************************
* ONCE FOREVER                                         *
***************************************************

Although Walter Pachl, for sure, will say:  NOT Feasable ... ;-)

I'm just (trying to) PROVE: It's feasable, and great progress already done!

PP Prototype will be commercially availble thru the CLOUD as a VALUE ADDED Service, also
called *Software as a Service* (SaaS) on our own server very soon! ;-)

INVESTORS and CO-Workers might be welcome, of course... ;-)

Thomas Schneider.
==================================================================     
  
Am 28.06.2012 14:10, schrieb Measel, Mike:

Would any of you be interested in working on a parallel fork to have NetRexx running native in .Net ?

 

And would there be sufficient value in doing so ?

 

My personal interest is in being able to interact directly with windows components like you can do in powershell.  I’d like to use NetRexx directly from powershell and vice-versa.

 

.Net code looks suspiciously like java.

 

Perhaps Sir Thomas could write a translator.  ( oh god what have I started…)



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

rvjansen
In reply to this post by measel
I find it an interesting proposition. I have two caveats here:

1) What I did with powershell until now was slow as molasses. Not
liking windows in the first place, it was punishment. Maybe a proof of
concept could first test if this gets any faster with using NetRexx and
if this is worth our trouble

2) NetRexx is at the same time constrained by Java, as experiencing
pull from new features. Would having CLR as an additional runtime make
this worse?


Maybe to elaborate a bit on (2):

Java evolves. We are constrained by the small devices people that do
not want growth of the runtime - for example, using modern (post 1.02)
collection classes for the compiler executable and for the generated
code would have some benefits. Also, annotations and genericity, and
other language changes pull functionality into NetRexx. With another
runtime (llvm, parrot, clr, etc) we would multiply these problems; otoh
- Rexx always was used in heterogenous environments; we have ADDRESS,
which is not implemented on NetRexx because the assumed ADDRESSed
environment is the JVM.

I see some advantage in starting with support to ADDRESS more
environments, in addition to generating runtime code for different
platforms.
As it is however, we need more developers, and the current developers
need more time.

best regards,

René.

On 2012-06-28 14:10, Measel, Mike wrote:

> Would any of you be interested in working on a parallel fork to have
> NetRexx running native in .Net ?
>
> And would there be sufficient value in doing so ?
>
> My personal interest is in being able to interact directly with
> windows components like you can do in powershell. I'd like to use
> NetRexx directly from powershell and vice-versa.
>
> .Net code looks suspiciously like java.
>
> Perhaps Sir Thomas could write a translator. ( oh god what have I
> started…)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net - related

rvjansen
In reply to this post by measel
Mike,

would you have a sample of how to set the classpath and path in
PowerShell scripts for NetRexx - for the Quick Start Guide that is
nearing completion. There is something with the scope of the environment
variables that I meant to find out but cannot find the time for.

best regards,

René.


On 2012-06-28 14:10, Measel, Mike wrote:

> Would any of you be interested in working on a parallel fork to have
> NetRexx running native in .Net ?
>
> And would there be sufficient value in doing so ?
>
> My personal interest is in being able to interact directly with
> windows components like you can do in powershell. I'd like to use
> NetRexx directly from powershell and vice-versa.
>
> .Net code looks suspiciously like java.
>
> Perhaps Sir Thomas could write a translator. ( oh god what have I
> started…)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

Fernando Cassia-2
In reply to this post by measel


On Thu, Jun 28, 2012 at 9:10 AM, Measel, Mike <[hidden email]> wrote:

Would any of you be interested in working on a parallel fork to have NetRexx running native in .Net ?

 

And would there be sufficient value in doing so ?


Why oh why keep that Microsoft's Java clone alive at all?. With Novell's Mono going down the drain, I'd have guessed the interest in Microsoft's platforms would decline, no?

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

Fernando Cassia-2
On Thu, Jun 28, 2012 at 10:56 AM, Fernando Cassia <[hidden email]> wrote:
Measel, Mike <[hidden email]> wrote:

I stopped caring about CA when you guys dropped CA-Realizer and worse, made the cross-platform CA-Realizer 2.0 turn into Windows-only CA-Realizer 3.0 (after the 3.0 beta for OS/2 was already announced, and then cancelled).

It was *coincidentally* about the same time CA signed some strategic cooperation agreement to have CA's management tools somewhat integrated with Win NT 4.0...

So if I were you, I'd ask Steve Ballmer for help... *pun intended*
FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

measel

Fernando,

 

Note:  This has nothing to do with my employer, just my personal interest.

 

As for Microsoft, I’m not a big fan either, but sometimes I must work in their world.  I’ve worked with a client recently that didn’t have java on their machines (thousands) and weren’t keen on adding it just for me.  Add to that the not exactly intuitive setup requirements and all of a sudden a NetRexx.dll makes life lots easier.

 

Again, purely for my own entertainment.

 

Btw, we’re now the kinder, gentler CA and all of those people are gone.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Fernando Cassia
Sent: Thursday, June 28, 2012 8:59 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] NetRexx .Net

 

On Thu, Jun 28, 2012 at 10:56 AM, Fernando Cassia <[hidden email]> wrote:

Measel, Mike <[hidden email]> wrote:


I stopped caring about CA when you guys dropped CA-Realizer and worse, made the cross-platform CA-Realizer 2.0 turn into Windows-only CA-Realizer 3.0 (after the 3.0 beta for OS/2 was already announced, and then cancelled).

It was *coincidentally* about the same time CA signed some strategic cooperation agreement to have CA's management tools somewhat integrated with Win NT 4.0...

So if I were you, I'd ask Steve Ballmer for help... *pun intended*
FC


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

Fernando Cassia-2


On Thu, Jun 28, 2012 at 11:12 AM, Measel, Mike <[hidden email]> wrote:
This has nothing to do with my employer, just my personal interest.

Ahhh OK :)

Then I take it back. I thought of your original E-Mail as "CA wants to turn NetRexx from being Java-based into .Net based" :-P
:)

And again, since it's open source, anybody is free to do anything they want with the source code despite my opinions... :)

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

Fernando Cassia-2
In reply to this post by measel


On Thu, Jun 28, 2012 at 11:12 AM, Measel, Mike <[hidden email]> wrote:
Btw, we’re now the kinder, gentler CA and all of those people are gone.

So, who do we need to talk to to make CA-Realizer open source? :-)

See this thread:

http://www.tek-tips.com/viewthread.cfm?qid=1431

H*ck, stranger things have happened... ie HP open sourcing WebOS...

FC

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

ThSITC
In reply to this post by Fernando Cassia-2
Frank Question(s), to all *maybe* involved:

1.) Would Either Computer Associates (CA) *or* IBM, or whoever, be in a *position*
to *invest real Money ($, €, or whatever Currency, wherever paid) to *FINANCE* this effort ?

2.) Are there, at ibm-netrexx, Volunteers ready to do this (with me, and my soft) ?

3.) What would ou say, when I shall PROOF that the *Technology to do this*, in a very
short Time-Frame (say, until End of 2012) is *already there* ?

no adverisement(s), of course, but simply a matter of *FACT* frommy shop ... ;-)

... BUT: I'm such a *lonely man*, getting *lost*, without MONEY and *PARTNERS* ;-)

Cracy Uncle Thomas, from *very HOT Vienna*, those days ... (36 Degrees (Celcius) expected
for the weekend....

What you shall know, by the way (totally un-related, as always)

Blood, Sweat, and Tears have been my *favorites* when I did sing those songs with my
*Band*, The *Understatement, back in the 1965's in the Austrian Hof-Burg ...

... and I have been also *the first actor* peforming In A Gaddha Da Vida (from IRON Butterfly),
there in the Vienniese HofBurg (full 17 Minutes version), there, when I was Young ...

Music is my greatest Hobby, except *composing Software* ;-)

-- end of interruptions --

cracy Uncle Thomas.
=========================================================================



Am 28.06.2012 18:37, schrieb Fernando Cassia:


On Thu, Jun 28, 2012 at 11:12 AM, Measel, Mike <[hidden email]> wrote:
This has nothing to do with my employer, just my personal interest.

Ahhh OK :)

Then I take it back. I thought of your original E-Mail as "CA wants to turn NetRexx from being Java-based into .Net based" :-P
:)

And again, since it's open source, anybody is free to do anything they want with the source code despite my opinions... :)

FC


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

rvjansen
I'll find sponsors for any performance of  IN A GADDA DA VIDA that you are planning - http://www.youtube.com/watch?v=UIVe-rZBcm4 - great memories.
René.


On 28 jun. 2012, at 20:09, Thomas Schneider wrote:

Blood, Sweat, and Tears have been my *favorites* when I did sing those songs with my
*Band*, The *Understatement, back in the 1965's in the Austrian Hof-Burg ...

... and I have been also *the first actor* peforming In A Gaddha Da Vida (from IRON Butterfly),
there in the Vienniese HofBurg (full 17 Minutes version), there, when I was Young ...

Music is my greatest Hobby, except *composing Software* ;-)

-- end of interruptions --

cracy Uncle Thomas.
========================================================================= 



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

ThSITC
Hi RENE,

*********************************************************************
* I'm just FOUNDING a NEW BAND here in Vienna !
*********************************************************************

When you come hereo, ou will be invited as  GUEST STAR playing the GUITAR, of course..
====================================================================

Will send you invitation to our *FIRST CONCERT* here at the IRISH PUB, ErdbergStr., 1030 Wien,
==============================================================================

Just in case that Software development doesn't turn into Money ..........

... RELAX, Mr. Thomas Schneider, be a MUSICIAN (and Aranger, and COMPOSER, again)

Anyway, I will play (with the Band, of Course), for instance:

***********************************************
* PICTURES of an EXHIBITION               *
*   by Mussourgski/Ravel, you know         *
*********************************************************************
* BUT, with a BLOOD SWEAT and TEARS like BAND
*    wih 3 Trumpets, Posounes, etc, etc
*********************************************************************
* EMERSON, LAKE,and PALMER Version of Course :-) :-) .-)
=============================================================

see you there, in Vienna, or Aruba, *or* anywhere elsewhere ..

... PLAYING MUSIC together might be a BETTER CHOICE than
getting NetRexx vs. 4.00 x 12345
.... OFF the air ....
=====================================================
AND: Is (at least) much more FUN!
=====================================================

TIRED GIGHTING against Windmills,,,,

Don Quichotte ;-)
==========================================================      
Am 28.06.2012 20:49, schrieb René Jansen:
I'll find sponsors for any performance of  IN A GADDA DA VIDA that you are planning - http://www.youtube.com/watch?v=UIVe-rZBcm4 - great memories.
René.


On 28 jun. 2012, at 20:09, Thomas Schneider wrote:

Blood, Sweat, and Tears have been my *favorites* when I did sing those songs with my
*Band*, The *Understatement, back in the 1965's in the Austrian Hof-Burg ...

... and I have been also *the first actor* peforming In A Gaddha Da Vida (from IRON Butterfly),
there in the Vienniese HofBurg (full 17 Minutes version), there, when I was Young ...

Music is my greatest Hobby, except *composing Software* ;-)

-- end of interruptions --

cracy Uncle Thomas.
========================================================================= 




_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net

Jason Martin
In reply to this post by measel
I have most of the NetRexxR.jar converted now. I have to go find it. I just re-installed all my system and software.

I would turn it over to some one who wants to finish it. Does not seem to hard to convert but the double checking and testing takes awhile.

NetRexxC.jar with take longer. I also seem amused to port the runtime to Google's Go Language.

On Thu, Jun 28, 2012 at 8:10 AM, Measel, Mike <[hidden email]> wrote:

Would any of you be interested in working on a parallel fork to have NetRexx running native in .Net ?

 

And would there be sufficient value in doing so ?

 

My personal interest is in being able to interact directly with windows components like you can do in powershell.  I’d like to use NetRexx directly from powershell and vice-versa.

 

.Net code looks suspiciously like java.

 

Perhaps Sir Thomas could write a translator.  ( oh god what have I started…)


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net - related

measel
In reply to this post by rvjansen
René, from my XP system with powershell:  

PS Z:\> get-childitem env: | sort name

Name                           Value
----                           -----
ALLUSERSPROFILE                C:\Documents and Settings\All Users
APPDATA                        C:\Documents and Settings\Owner\Application Data
CLASSPATH                      c:\Netrexx\lib\NetRexxC.jar;c:\usr\java\tools.jar
CLIENTNAME                     Console
CommonProgramFiles             C:\Program Files\Common Files
COMPUTERNAME                   VIRTUALVIAO
ComSpec                        C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK               NO
HOMEDRIVE                      C:
HOMEPATH                       \Documents and Settings\Owner
JAVA_HOME                      c:\program files\jdk\jdk1.5.0_22
LM_LICENSE_FILE                C:\Program Files\HyPerformix\License;
LOGONSERVER                    \\VIRTUALVIAO
NUMBER_OF_PROCESSORS           4
OS                             Windows_NT
Path                           c:\program files\java\jdk1.5.0_22\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste...
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PROCESSOR_ARCHITECTURE         x86
PROCESSOR_IDENTIFIER           x86 Family 6 Model 30 Stepping 5, GenuineIntel
PROCESSOR_LEVEL                6
PROCESSOR_REVISION             1e05
ProgramFiles                   C:\Program Files
PSModulePath                   C:\Documents and Settings\Owner\My Documents\WindowsPowerShell\Modules;C:\WINDOWS\sys...
SESSIONNAME                    Console
SystemDrive                    C:
SystemRoot                     C:\WINDOWS
TEMP                           C:\DOCUME~1\Owner\LOCALS~1\Temp
TMP                            C:\DOCUME~1\Owner\LOCALS~1\Temp
USERDOMAIN                     VIRTUALVIAO
USERNAME                       Owner
USERPROFILE                    C:\Documents and Settings\Owner
windir                         C:\WINDOWS



PS Z:\> nrc -exec hello
NetRexx portable processor, version 2.05
Copyright (c) IBM Corporation, 2005.  All rights reserved.
Program hello.nrx
===== Exec: hello =====
hello
Processing of 'hello.nrx' complete


PS Z:\> $rxout = nrc -exec -nologo hello
PS Z:\> $rxout[2]
hello
PS Z:\>


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of rvjansen
Sent: Thursday, June 28, 2012 8:07 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] NetRexx .Net - related

Mike,

would you have a sample of how to set the classpath and path in
PowerShell scripts for NetRexx - for the Quick Start Guide that is
nearing completion. There is something with the scope of the environment
variables that I meant to find out but cannot find the time for.

best regards,

René.


On 2012-06-28 14:10, Measel, Mike wrote:

> Would any of you be interested in working on a parallel fork to have
> NetRexx running native in .Net ?
>
> And would there be sufficient value in doing so ?
>
> My personal interest is in being able to interact directly with
> windows components like you can do in powershell. I'd like to use
> NetRexx directly from powershell and vice-versa.
>
> .Net code looks suspiciously like java.
>
> Perhaps Sir Thomas could write a translator. ( oh god what have I
> started…)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net - related

rvjansen
On 2012-06-29 15:28, Measel, Mike wrote:

> René, from my XP system with powershell:
>
> PS Z:\> get-childitem env: | sort name
>
> Name                           Value
> ----                           -----
> ALLUSERSPROFILE                C:\Documents and Settings\All Users
> APPDATA                        C:\Documents and
> Settings\Owner\Application Data
> CLASSPATH
> c:\Netrexx\lib\NetRexxC.jar;c:\usr\java\tools.jar
> CLIENTNAME                     Console
> CommonProgramFiles             C:\Program Files\Common Files
> COMPUTERNAME                   VIRTUALVIAO
> ComSpec                        C:\WINDOWS\system32\cmd.exe
> FP_NO_HOST_CHECK               NO
> HOMEDRIVE                      C:
> HOMEPATH                       \Documents and Settings\Owner
> JAVA_HOME                      c:\program files\jdk\jdk1.5.0_22
> LM_LICENSE_FILE                C:\Program Files\HyPerformix\License;
> LOGONSERVER                    \\VIRTUALVIAO
> NUMBER_OF_PROCESSORS           4
> OS                             Windows_NT
> Path                           c:\program
>
> files\java\jdk1.5.0_22\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste...
> PATHEXT
> .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
> PROCESSOR_ARCHITECTURE         x86
> PROCESSOR_IDENTIFIER           x86 Family 6 Model 30 Stepping 5,
> GenuineIntel
> PROCESSOR_LEVEL                6
> PROCESSOR_REVISION             1e05
> ProgramFiles                   C:\Program Files
> PSModulePath                   C:\Documents and Settings\Owner\My
> Documents\WindowsPowerShell\Modules;C:\WINDOWS\sys...
> SESSIONNAME                    Console
> SystemDrive                    C:
> SystemRoot                     C:\WINDOWS
> TEMP                           C:\DOCUME~1\Owner\LOCALS~1\Temp
> TMP                            C:\DOCUME~1\Owner\LOCALS~1\Temp
> USERDOMAIN                     VIRTUALVIAO
> USERNAME                       Owner
> USERPROFILE                    C:\Documents and Settings\Owner
> windir                         C:\WINDOWS
>
>
>
> PS Z:\> nrc -exec hello
> NetRexx portable processor, version 2.05
> Copyright (c) IBM Corporation, 2005.  All rights reserved.
> Program hello.nrx
> ===== Exec: hello =====
> hello
> Processing of 'hello.nrx' complete
>
>
> PS Z:\> $rxout = nrc -exec -nologo hello
> PS Z:\> $rxout[2]
> hello
> PS Z:\>
>
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of rvjansen
> Sent: Thursday, June 28, 2012 8:07 AM
> To: IBM Netrexx
Hi Mike,

thanks for this. I gather you set the global environment using the
Windows dialog; what I am specifically looking for is the way to invoke
NetRexx using a batch file under PowerShell, so setting the environment
variables in the same batch file that is used to invoke the translator.

best regards,

René.


> Subject: Re: [Ibm-netrexx] NetRexx .Net - related
>
> Mike,
>
> would you have a sample of how to set the classpath and path in
> PowerShell scripts for NetRexx - for the Quick Start Guide that is
> nearing completion. There is something with the scope of the
> environment
> variables that I meant to find out but cannot find the time for.
>
> best regards,
>
> René.
>
>
> On 2012-06-28 14:10, Measel, Mike wrote:
>> Would any of you be interested in working on a parallel fork to have
>> NetRexx running native in .Net ?
>>
>> And would there be sufficient value in doing so ?
>>
>> My personal interest is in being able to interact directly with
>> windows components like you can do in powershell. I'd like to use
>> NetRexx directly from powershell and vice-versa.
>>
>> .Net code looks suspiciously like java.
>>
>> Perhaps Sir Thomas could write a translator. ( oh god what have I
>> started…)
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx .Net - related

measel
Ok, here's an nrc.bat that works from powershell with no hard variables set.  

It defaults to just running the script, so to compile use the -compile switch in position 1. ex:  nrc.bat -compile hello.nrx

It doesn't try to automatically run it afterwards if you specify compile. That made no sense.

===============================================================================================

@echo off
set CLASSPATH=z:\lib\NetRexxC.jar;c:\usr\java\tools.jar

if "%2"=="" goto run
if "%1"=="-compile" goto compile

:run
java -cp %CLASSPATH% COM.ibm.netrexx.process.NetRexxC -exec %1 %2 %3 %4 %5 %6 %7 %8 %9  
goto quit

:compile
java -cp %CLASSPATH% COM.ibm.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9

:quit

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of rvjansen
Sent: Friday, June 29, 2012 8:43 AM
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] NetRexx .Net - related

On 2012-06-29 15:28, Measel, Mike wrote:

> René, from my XP system with powershell:
>
> PS Z:\> get-childitem env: | sort name
>
> Name                           Value
> ----                           -----
> ALLUSERSPROFILE                C:\Documents and Settings\All Users
> APPDATA                        C:\Documents and
> Settings\Owner\Application Data
> CLASSPATH
> c:\Netrexx\lib\NetRexxC.jar;c:\usr\java\tools.jar
> CLIENTNAME                     Console
> CommonProgramFiles             C:\Program Files\Common Files
> COMPUTERNAME                   VIRTUALVIAO
> ComSpec                        C:\WINDOWS\system32\cmd.exe
> FP_NO_HOST_CHECK               NO
> HOMEDRIVE                      C:
> HOMEPATH                       \Documents and Settings\Owner
> JAVA_HOME                      c:\program files\jdk\jdk1.5.0_22
> LM_LICENSE_FILE                C:\Program Files\HyPerformix\License;
> LOGONSERVER                    \\VIRTUALVIAO
> NUMBER_OF_PROCESSORS           4
> OS                             Windows_NT
> Path                           c:\program
>
> files\java\jdk1.5.0_22\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste...
> PATHEXT
> .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
> PROCESSOR_ARCHITECTURE         x86
> PROCESSOR_IDENTIFIER           x86 Family 6 Model 30 Stepping 5,
> GenuineIntel
> PROCESSOR_LEVEL                6
> PROCESSOR_REVISION             1e05
> ProgramFiles                   C:\Program Files
> PSModulePath                   C:\Documents and Settings\Owner\My
> Documents\WindowsPowerShell\Modules;C:\WINDOWS\sys...
> SESSIONNAME                    Console
> SystemDrive                    C:
> SystemRoot                     C:\WINDOWS
> TEMP                           C:\DOCUME~1\Owner\LOCALS~1\Temp
> TMP                            C:\DOCUME~1\Owner\LOCALS~1\Temp
> USERDOMAIN                     VIRTUALVIAO
> USERNAME                       Owner
> USERPROFILE                    C:\Documents and Settings\Owner
> windir                         C:\WINDOWS
>
>
>
> PS Z:\> nrc -exec hello
> NetRexx portable processor, version 2.05
> Copyright (c) IBM Corporation, 2005.  All rights reserved.
> Program hello.nrx
> ===== Exec: hello =====
> hello
> Processing of 'hello.nrx' complete
>
>
> PS Z:\> $rxout = nrc -exec -nologo hello
> PS Z:\> $rxout[2]
> hello
> PS Z:\>
>
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of rvjansen
> Sent: Thursday, June 28, 2012 8:07 AM
> To: IBM Netrexx
Hi Mike,

thanks for this. I gather you set the global environment using the
Windows dialog; what I am specifically looking for is the way to invoke
NetRexx using a batch file under PowerShell, so setting the environment
variables in the same batch file that is used to invoke the translator.

best regards,

René.


> Subject: Re: [Ibm-netrexx] NetRexx .Net - related
>
> Mike,
>
> would you have a sample of how to set the classpath and path in
> PowerShell scripts for NetRexx - for the Quick Start Guide that is
> nearing completion. There is something with the scope of the
> environment
> variables that I meant to find out but cannot find the time for.
>
> best regards,
>
> René.
>
>
> On 2012-06-28 14:10, Measel, Mike wrote:
>> Would any of you be interested in working on a parallel fork to have
>> NetRexx running native in .Net ?
>>
>> And would there be sufficient value in doing so ?
>>
>> My personal interest is in being able to interact directly with
>> windows components like you can do in powershell. I'd like to use
>> NetRexx directly from powershell and vice-versa.
>>
>> .Net code looks suspiciously like java.
>>
>> Perhaps Sir Thomas could write a translator. ( oh god what have I
>> started…)
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/