You can subscribe to this list here.
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2020 |
Jan
|
Feb
|
Mar
(4) |
Apr
(3) |
May
(6) |
Jun
(7) |
Jul
(10) |
Aug
(9) |
Sep
(9) |
Oct
(1) |
Nov
(3) |
Dec
(5) |
2021 |
Jan
|
Feb
(1) |
Mar
(5) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(9) |
Nov
(1) |
Dec
(14) |
2022 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(165) |
Jul
(8) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(5) |
2023 |
Jan
(19) |
Feb
(14) |
Mar
(2) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(10) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
(10) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Marc R. <re...@gm...> - 2022-01-31 10:55:41
|
And for the record: https://www.netrexx.org is not responding, http:// is. Not sure if this is new however.. [~]$ wget https://www.netrexx.org --2022-01-31 11:50:51-- https://www.netrexx.org/ Resolving www.netrexx.org (www.netrexx.org)... 54.161.20.82 Connecting to www.netrexx.org (www.netrexx.org)|54.161.20.82|:443... failed: Connection timed out. Retrying. --2022-01-31 11:53:02-- (try: 2) https://www.netrexx.org/ Connecting to www.netrexx.org (www.netrexx.org)|54.161.20.82|:443... ^C [~]$ wget http://www.netrexx.org --2022-01-31 11:53:16-- http://www.netrexx.org/ Resolving www.netrexx.org (www.netrexx.org)... 54.161.20.82 Connecting to www.netrexx.org (www.netrexx.org)|54.161.20.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6101 (6.0K) [text/html] Saving to: ‘index.html’ index.html 100%[====================================================================================================>] 5.96K --.-KB/s in 0.001s 2022-01-31 11:53:16 (4.66 MB/s) - ‘index.html’ saved [6101/6101] Marc On 1/31/22 11:10, René Jansen wrote: > Hi Leslie, > > Thanks for bringing this to my attention. It is fixed now. > > Best regards, > > René. > > >> On 31 Jan 2022, at 08:17, J Leslie Turriff <jlt...@ma...> wrote: >> >> Hi, >> At the https://www.netrexx.org/ website, the link to NetRexx Forum returns a Server Not >> Found page: >> | http://ibm-netrexx.215625.n3.nabble.com/ >> | Hmm. We’re having trouble finding that site. >> | >> | We can’t connect to the server at ibm-netrexx.215625.n3.nabble.com. >> | >> | If that address is correct, here are three other things you can try: >> | >> | Try again later. >> | Check your network connection. >> | If you are connected but behind a firewall, check that Waterfox has permission to >> access the Web. >> >> Leslie >> -- >> Platform: Linux >> Distribution: openSUSE Leap 15.3 x86_64 >> >> java version "17" 2021-09-14 LTS >> Java(TM) SE Runtime Environment (build 17+35-LTS-2724) >> Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) >> >> NetRexx portable processor 4.02-GA build 55-20220124-1319 >> >> Waterfox Limited Waterfox G4.0.6 >> >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines > > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |
From: René J. <rvj...@xs...> - 2022-01-31 10:11:07
|
Hi Leslie, Thanks for bringing this to my attention. It is fixed now. Best regards, René. > On 31 Jan 2022, at 08:17, J Leslie Turriff <jlt...@ma...> wrote: > > Hi, > At the https://www.netrexx.org/ website, the link to NetRexx Forum returns a Server Not > Found page: > | http://ibm-netrexx.215625.n3.nabble.com/ > | Hmm. We’re having trouble finding that site. > | > | We can’t connect to the server at ibm-netrexx.215625.n3.nabble.com. > | > | If that address is correct, here are three other things you can try: > | > | Try again later. > | Check your network connection. > | If you are connected but behind a firewall, check that Waterfox has permission to > access the Web. > > Leslie > -- > Platform: Linux > Distribution: openSUSE Leap 15.3 x86_64 > > java version "17" 2021-09-14 LTS > Java(TM) SE Runtime Environment (build 17+35-LTS-2724) > Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) > > NetRexx portable processor 4.02-GA build 55-20220124-1319 > > Waterfox Limited Waterfox G4.0.6 > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |
From: J L. T. <jlt...@ma...> - 2022-01-31 07:18:08
|
Hi, At the https://www.netrexx.org/ website, the link to NetRexx Forum returns a Server Not Found page: | http://ibm-netrexx.215625.n3.nabble.com/ | Hmm. We’re having trouble finding that site. | | We can’t connect to the server at ibm-netrexx.215625.n3.nabble.com. | | If that address is correct, here are three other things you can try: | | Try again later. | Check your network connection. | If you are connected but behind a firewall, check that Waterfox has permission to access the Web. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.3 x86_64 java version "17" 2021-09-14 LTS Java(TM) SE Runtime Environment (build 17+35-LTS-2724) Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) NetRexx portable processor 4.02-GA build 55-20220124-1319 Waterfox Limited Waterfox G4.0.6 |
From: J L. T. <jlt...@ma...> - 2022-01-29 01:49:02
|
Thank you very much, René. Leslie On 2022-01-28 04:33:43 René Jansen wrote: > Hi Leslie, > > I have opened https://github.com/RexxLA/NetRexx/issues/2 > <https://github.com/RexxLA/NetRexx/issues/2> for this. It will be looked at > and hopefully solved for the coming release. > > Best regards, > > René. > > > It appears that the pipeline compiler doesn't like pipelines with the > > separators and endchars at the beginning of the stages instead of at the > > end. This is a bit irritating, as I prefer to place them at the > > beginning of stages. (In CMS, it didn't matter which end they were at, > > as the stages were all concatenated into one big string for execution.) > > > > Leslie > > -- Operating System: Linux > > Distribution: openSUSE Leap 15.3 x86_64 > > NetRexx portable processor 4.01-GA build 573-20210320-2000 > > > > > > _______________________________________________ > > netrexx-pipelines mailing list > > net...@li... > > <mailto:net...@li...> > > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines > > <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> -- |
From: René J. <rvj...@xs...> - 2022-01-28 10:34:01
|
Hi Leslie, I have opened https://github.com/RexxLA/NetRexx/issues/2 <https://github.com/RexxLA/NetRexx/issues/2> for this. It will be looked at and hopefully solved for the coming release. Best regards, René. > > It appears that the pipeline compiler doesn't like pipelines with the separators and > endchars at the beginning of the stages instead of at the end. This is a bit irritating, > as I prefer to place them at the beginning of stages. (In CMS, it didn't matter which > end they were at, as the stages were all concatenated into one big string for execution.) > > Leslie > -- Operating System: Linux > Distribution: openSUSE Leap 15.3 x86_64 > NetRexx portable processor 4.01-GA build 573-20210320-2000 > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... <mailto:net...@li...> > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> |
From: J L. T. <jlt...@ma...> - 2022-01-18 08:12:28
|
On 2022-01-15 20:29:04 René Jansen wrote: > Hi Leslie, > > I have been trying to reproduce this, but to no avail: it just works on my > machine. I know this does not help you a lot. Can you tell me what goes > wrong on your machine, does it give an error message, or fail to deliver > output, or is the outputt incorrect? > > About the extension: yes, that is true. In 4.02, this is documented in the > example. Do we want to be flexible in this? I think that can be done. > > Best regards, > > René. > > > > > I note also that testpipe must have the njp extension, even though it's > > a NetRexx program; this is not stated in the manual. I had some fun with > > this until I changed the extension. > > > > Leslie It appears that the pipeline compiler doesn't like pipelines with the separators and endchars at the beginning of the stages instead of at the end. This is a bit irritating, as I prefer to place them at the beginning of stages. (In CMS, it didn't matter which end they were at, as the stages were all concatenated into one big string for execution.) Leslie -- Operating System: Linux Distribution: openSUSE Leap 15.3 x86_64 NetRexx portable processor 4.01-GA build 573-20210320-2000 |
From: J L. T. <jlt...@ma...> - 2022-01-14 22:37:44
|
Hi, I'm having fun with the example program in the NetRexx Pipelines Guide and Reference manual. The program works fine as shown in the example, but fails if a label is added to any stage. It seems that this would prevent imbedding of multi-stream pipelines in a NetRexx source program? -- testpipe.njp ---------------------------------------------- class testpipe method testpipe(avar=Rexx) F = Rexx 'abase' T = Rexx 1 F[0]=5 F[1]=222 F[2]=3333 F[3]=1111 F[4]=55 F[5]=444 pipe (apipe stall 1000 ) -- stem F | sort | prefix literal {avar} | console | stem T -- This works stem F | fail: sort | prefix literal {avar} | console | stem T -- This fails loop i=1 to T[0] say 'T['i']='T[i] end method main(a=String[]) static testpipe(Rexx(a)) -------------------------------------------------------------- I note also that testpipe must have the njp extension, even though it's a NetRexx program; this is not stated in the manual. I had some fun with this until I changed the extension. Leslie |
From: Jason M. <agr...@gm...> - 2021-12-16 14:53:48
|
OK now. Passes with latest check out and build of NetRexx on all OSes patched and updated today listed below. Devuan 4.0.0 64 bit openjdk11 Haiku Beta 3 64 bit openjdk8 OpenBSD 7 64 bit openjdk8 OpenIndiana Hipster 64 bit openjdk8 Thank you. |
From: René J. <rvj...@xs...> - 2021-12-16 02:36:34
|
I am sorry, I borked that myself last week while trying to sort an 850M dataset. It has been corrected in commit 0bc30d8. Best regards, René. > On 15 Dec 2021, at 13:23, René Jansen <rvj...@xs...> wrote: > > That is quite interesting. It runs OK on 4.01, will see what has changed. > >> On 15 Dec 2021, at 13:13, Jeff Hennick <Je...@Je... <mailto:Je...@Je...>> wrote: >> >> Jason, >> >> Sorry to hear of your problems, but this is what I am getting on my Windows 10 machine and NRC 4.01 (I have not yet tried 4.02-PRE): >> > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |
From: René J. <rvj...@xs...> - 2021-12-15 17:24:03
|
That is quite interesting. It runs OK on 4.01, will see what has changed. > On 15 Dec 2021, at 13:13, Jeff Hennick <Je...@Je...> wrote: > > Jason, > > Sorry to hear of your problems, but this is what I am getting on my Windows 10 machine and NRC 4.01 (I have not yet tried 4.02-PRE): |
From: Jason M. <agr...@gm...> - 2021-12-15 17:21:30
|
Jeff, I confirm also, something broke/changed since then. |
From: Jeff H. <Je...@Je...> - 2021-12-15 17:13:25
|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Jason,</p> <p>Sorry to hear of your problems, but this is what I am getting on my Windows 10 machine and NRC 4.01 (I have not yet tried 4.02-PRE):</p> <div style="display:inline-block;white-space:pre;background-color:#012456;font-family:'Consolas',monospace;font-size:10pt;padding:4px;"><span style="color:#CCCCCC;background-color:#012456;">PS C:\Users\Jeff\documents\pipes - tests> </span><span style="color:#F9F1A5;background-color:#012456;">nrc </span><span style="color:#767676;background-color:#012456;">-help </span><span style="color:#CCCCCC;background-color:#012456;">java -cp ".;C:\Users\Jeff\netrexx-4.01\lib\NetRexxF.jar;C:\Users\Jeff\netrexx-code\lib\sqlite-jdbc-3.32.3.2.jar;;;." -Dn rx.compiler=ecj org.netrexx.process.NetRexxC -help NetRexx portable processor 4.01-GA build 573-20210320-2000 Copyright (c) RexxLA, 2011,2021. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008.</span></div> <div style="display:inline-block;white-space:pre;background-color:#012456;font-family:'Consolas',monospace;font-size:10pt;padding:4px;"><span style="color:#CCCCCC;background-color:#012456;">PS C:\Users\Jeff\documents\pipes - tests> </span><span style="color:#F9F1A5;background-color:#012456;">pipc </span><span style="color:#CCCCCC;background-color:#012456;">sort_tests1.njp pipe (sort_tests1 ) o: faninany | sort | specs 2-* 1 | cons ? literal 4836;4892;3908;3495;3627;1839;4895 | split ; | d: fanout ? -- sort (count)? d: | sort | count lines | c1: compare any ~2# 1 sort (count)~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? l iteral 7 | c1: ? -- sort ? d: | sort | c2: compare any ~2# 2 sort ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b. ~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;362 7;3908;4836;4892;4895 | split ; | c2: ? -- sort A ? d: | sort A | c3: compare any ~2# 3 sort A ~ equal ~*OK*~ notequal ~ **FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c3: ? -- sort Ascend ? d: | sort Ascend | c4: compare any ~2# 4 sort Ascend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c4: ? -- sort Descend ? d: | sort Descend | c5: compare any ~2# 5 sort Descend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b. ~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 4895;4892;483 6;3908;3627;3495;1839 | split ; | c5: ? -- sort range ? d: | sort 2.2 | c6: compare any ~2# 6 sort range ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpecte d:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | split ; | c6: ? -- sort range A ? d: | sort 2.2 A | c7: c ompare any ~2# 7 sort range A ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpecte d:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c7: ? -- sort A range ? d: | sort A 2.2 | c8: compare any ~2# 8 sort A range~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nA ctual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836 ;3627;3495; | split ; | c8: ? -- sort (10) A range ? d: | sort (10) A 2.2 | c9: compare any ~2# 9 sort (10) A range~ equ al ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\ p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495 ; | split ; | c9: ? PS C:\Users\Jeff\documents\pipes - tests> </span><span style="color:#F9F1A5;background-color:#012456;">java </span><span style="color:#CCCCCC;background-color:#012456;">sort_tests1 # 1 sort (count) *OK* # 2 sort *OK* # 3 sort A *OK* # 4 sort Ascend *OK* # 5 sort Descend *OK* # 6 sort range *OK* # 7 sort range A *OK* # 8 sort A range *OK* # 9 sort (10) A range *OK* PS C:\Users\Jeff\documents\pipes - tests></span></div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">Jeff</div> <div class="moz-cite-prefix"><br> </div> <div class="moz-cite-prefix">On 12/15/2021 11:44 AM, Jason Martin wrote:<br> </div> <blockquote type="cite" cite="mid:5ba...@gm...">Not trying to be a pain and sometimes I am a little slow, my eyes do not focus good and I get confused. <br> <br> But if I understand it, everyone surely will be able to adopt and use it. <br> <br> Maybe I am doing something wrong again. <br> <br> A NJP file >> PIPC it >> JAVA the generated class. <br> <br> /* FROM EXAMPLES - NO CHANGE */ <br> agrellum@vbx:~/COLDMOON$ ls <br> sort_tests1.njp <br> <br> /* BUILT A FEW MINTUES AGO */ <br> agrellum@vbx:~/COLDMOON$ nrc <br> NetRexx portable processor 4.02-PRE build 1-20211215-1119 <br> Copyright (c) RexxLA, 2011,2021. All rights reserved. <br> Parts Copyright (c) IBM Corporation, 1995,2008. <br> <br> Arguments are: in_file_specification... [-option]... <br> <br> Use "-help" to show all options <br> <br> /* PIPC */ <br> agrellum@vbx:~/COLDMOON$ pipc sort_tests1.njp <br> pipe (sort_tests1 ) o: faninany | sort | specs 2-* 1 | cons ? literal 4836;4892;3908;3495;3627;1839;4895 | split ; | d: fanout ? -- sort (count)? d: | sort | count lines | c1: compare any ~2# 1 sort (count)~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 7 | c1: ? -- sort ? d: | sort | c2: compare any ~2# 2 sort ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c2: ? -- sort A ? d: | sort A | c3: compare any ~2# 3 sort A ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c3: ? -- sort Ascend ? d: | sort Ascend | c4: compare any ~2# 4 sort Ascend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c4: ? -- sort Descend ? d: | sort Descend | c5: compare any ~2# 5 sort Descend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 4895;4892;4836;3908;3627;3495;1839 | split ; | c5: ? -- sort range ? d: | sort 2.2 | c6: compare any ~2# 6 sort range ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | split ; | c6: ? -- sort range A ? d: | sort 2.2 A | c7: compare any ~2# 7 sort range A ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c7: ? -- sort A range ? d: | sort A 2.2 | c8: compare any ~2# 8 sort A range~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c8: ? -- sort (10) A range ? d: | sort (10) A 2.2 | c9: compare any ~2# 9 sort (10) A range~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c9: ? <br> <br> /* RUN WITH JAVA */ <br> agrellum@vbx:~/COLDMOON$ java sort_tests1 <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000D <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> java.lang.NumberFormatException: 10000A <br> at netrexx.lang.Rexx.toint(Rexx.java:690) <br> at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) <br> at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) <br> at java.lang.Thread.run(Thread.java:748) <br> <br> <br> <br> _______________________________________________ <br> netrexx-pipelines mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:net...@li...">net...@li...</a> <br> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines">https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines</a> <br> </blockquote> </body> </html> |
From: Jason M. <agr...@gm...> - 2021-12-15 16:45:09
|
Not trying to be a pain and sometimes I am a little slow, my eyes do not focus good and I get confused. But if I understand it, everyone surely will be able to adopt and use it. Maybe I am doing something wrong again. A NJP file >> PIPC it >> JAVA the generated class. /* FROM EXAMPLES - NO CHANGE */ agrellum@vbx:~/COLDMOON$ ls sort_tests1.njp /* BUILT A FEW MINTUES AGO */ agrellum@vbx:~/COLDMOON$ nrc NetRexx portable processor 4.02-PRE build 1-20211215-1119 Copyright (c) RexxLA, 2011,2021. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Arguments are: in_file_specification... [-option]... Use "-help" to show all options /* PIPC */ agrellum@vbx:~/COLDMOON$ pipc sort_tests1.njp pipe (sort_tests1 ) o: faninany | sort | specs 2-* 1 | cons ? literal 4836;4892;3908;3495;3627;1839;4895 | split ; | d: fanout ? -- sort (count)? d: | sort | count lines | c1: compare any ~2# 1 sort (count)~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 7 | c1: ? -- sort ? d: | sort | c2: compare any ~2# 2 sort ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c2: ? -- sort A ? d: | sort A | c3: compare any ~2# 3 sort A ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c3: ? -- sort Ascend ? d: | sort Ascend | c4: compare any ~2# 4 sort Ascend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 1839;3495;3627;3908;4836;4892;4895 | split ; | c4: ? -- sort Descend ? d: | sort Descend | c5: compare any ~2# 5 sort Descend ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 4895;4892;4836;3908;3627;3495;1839 | split ; | c5: ? -- sort range ? d: | sort 2.2 | c6: compare any ~2# 6 sort range ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | split ; | c6: ? -- sort range A ? d: | sort 2.2 A | c7: compare any ~2# 7 sort range A ~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c7: ? -- sort A range ? d: | sort A 2.2 | c8: compare any ~2# 8 sort A range~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c8: ? -- sort (10) A range ? d: | sort (10) A 2.2 | c9: compare any ~2# 9 sort (10) A range~ equal ~*OK*~ notequal ~**FAIL** at rec \\c col \\b.~ less /Less:\nActual:\n\\p\nExpected:\n\\s\n/ more /More:\nActual:\n\\p\nExpected:\n\\s\n/ | o: ? literal 3495;3627;4836;1839;4895;4892;3908 | -- literal 3908;4892;4895;1839;4836;3627;3495; | split ; | c9: ? /* RUN WITH JAVA */ agrellum@vbx:~/COLDMOON$ java sort_tests1 java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000D at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) java.lang.NumberFormatException: 10000A at netrexx.lang.Rexx.toint(Rexx.java:690) at org.netrexx.njpipes.stages.sortRexx.run(sortRexx.java:105) at org.netrexx.njpipes.pipes.ThreadPool.run(ThreadPool.java:76) at java.lang.Thread.run(Thread.java:748) |
From: Jason M. <agr...@gm...> - 2021-12-13 18:38:00
|
"A smart language designed for real people, and vice versa." Most "real people" are poor. Thank you, Build and tested on both OpenIndiana and OpenBSD. Now maybe, I can learn pipes. |
From: René J. <rvj...@xs...> - 2021-12-13 18:08:33
|
I pushed a fix in af2edcf, please have a look. René. > On 13 Dec 2021, at 11:41, René Jansen <rvj...@xs...> wrote: > > You should … let me check what happens here. > >> On 13 Dec 2021, at 11:37, Jason Martin <agr...@gm...> wrote: >> >> If I change that -1 to -l for long format, should I not get the same thing as doing ls -l on the command line shell? >> >> USING : >> >> pipe "literal ls -l | command | console" >> >> >> >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines > |
From: Jason M. <agr...@gm...> - 2021-12-13 15:38:06
|
If I change that -1 to -l for long format, should I not get the same thing as doing ls -l on the command line shell? USING : pipe "literal ls -l | command | console" |
From: René J. <rvj...@xs...> - 2021-12-13 15:28:44
|
This works for me on Ubuntu and macOS at least: pipe "literal ls -1 | command | specs /mv/ 1 1-* 4 1-27 54 /_/ 81 40-* 82 | > rename_files.sh” Best regards, René. > On 13 Dec 2021, at 11:19, Jason Martin <agr...@gm...> wrote: > > This does not work either with normal shell or bash on OpenBSD. > > java org.netrexx.njpipes.pipes.runner "command ls -l | console" > > > > > > > _______________________________________________ > netrexx-pipelines mailing list > net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |
From: Jason M. <agr...@gm...> - 2021-12-13 15:19:40
|
This does not work either with normal shell or bash on OpenBSD. java org.netrexx.njpipes.pipes.runner "command ls -l | console" |
From: Jason M. <agr...@gm...> - 2021-12-13 14:55:47
|
What do I need to do? ls -l will produce long format on command line. pipe "command ls -l | console" will not. |
From: Jeff H. <Je...@Je...> - 2021-12-07 20:50:29
|
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>This is from the sort.nrx source. Ed's note at the bottom gives some context. The (uncommented) <b>size</b> option might help you. It is sortRexx.nrx that uses that number for an array size, and is throwing the error messages. (I did not touch the internals of sortRexx, except to add the SINGLEOK.)</p> <p><font face="monospace">/** sort<br> NetRexx<br> <br> >>--SORT--+-----------------------------+--+------------+--><br> | +-REXX-----+ +-10000-+ | +-inputRange-+<br> +-(-+----------+--+-------+-)-+<br> +-class-(2)+ +-size--+<br> <br> +-Ascending-(1)-+<br> >--+---------------+--+-------------+--><<br> +-Descending-(1)+ +-SINGLEOK-(3)+<br> <br> Note:<br> (1) May come before range, for backwards compatability.<br> (2) Requires that you implement another sortClass with a name begining with 'sort'<br> (3) Suppresses error message if only one record to sort for Rexx objects.<br> <br> <br> CMS<br> +-NOPAD----+<br> >>--SORT-+--------+--+----------+--+---------+---><br> +-COUNT--+ +-PAD-xorc-+ +-ANYcase-+<br> +-UNIQue-+<br> <br> +-Ascending------------------------------------+<br> >--+----------------------------------------------+---><<br> +-Descending-----------------------------------+<br> | +-----------------------------------------+ |<br> | | +-Ascending--+ | |<br> +-v-inputRange-+------------+--+----------+-+--+<br> +-Descending-+ +-NOPAD----+<br> +-PAD-xorc-+<br> <br> This sort routine is very basic. It uses sortRexx class, which implements<br> the sortClass interface. To sort objects of classes other than Rexx requires<br> that you implement another sortClass with a name begining with 'sort'.<br> <br> I implemented this class using an Java array for the objects to be sorted as<br> opposed to a Rexx stem. Using an array is about 50% faster. I choose a quick/<br> Bose Norman sort since I had the code, in Rexx, for it from a time before I<br> had pipes on CMS! EJT<br> <br> */</font><br> <br> </p> <div class="moz-cite-prefix">On 12/7/2021 3:06 PM, René Jansen wrote:<br> </div> <blockquote type="cite" cite="mid:DF4...@xs..."> <pre class="moz-quote-pre" wrap="">Jeff, I am sorting a file of 8M records. I see this: ➜ src git:(master) ✗ pipe '< facts.pl | sort | cons' pebbb789_sortRexx_2 Error - Array for sort to small rc=11 pebbb789_sortRexx_2 Error - Array for sort to small rc=11 RC=11 RC=11 Would you happen to know which array that is? Best regards, René. _______________________________________________ netrexx-pipelines mailing list <a class="moz-txt-link-abbreviated" href="mailto:net...@li...">net...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines">https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines</a> </pre> </blockquote> </body> </html> |
From: René J. <rvj...@xs...> - 2021-12-07 20:07:12
|
Jeff, I am sorting a file of 8M records. I see this: ➜ src git:(master) ✗ pipe '< facts.pl | sort | cons' pebbb789_sortRexx_2 Error - Array for sort to small rc=11 pebbb789_sortRexx_2 Error - Array for sort to small rc=11 RC=11 RC=11 Would you happen to know which array that is? Best regards, René. |
From: Colin <net...@im...> - 2021-11-01 04:13:32
|
Thanks Rene I guess I must have something set up incorrectly in my environment. z:\NetRexx-4.01-GA\bin> z:\NetRexx-4.01-GA\bin>dir testpipe* Volume in drive Z is OS Volume Serial Number is 643B-12E5 Directory of z:\NetRexx-4.01-GA\bin 2021-10-28 05:23 PM 334 testpipe.njp 1 File(s) 334 bytes 0 Dir(s) 1,035,456,036,864 bytes free z:\NetRexx-4.01-GA\bin>pipc testpipe.njp pipe (testpipe_apipe stall 1000 ) stem F | sort | prefix literal arg(string 'avar'} | console | stem T z:\NetRexx-4.01-GA\bin>dir testpipe* Volume in drive Z is OS Volume Serial Number is 643B-12E5 Directory of z:\NetRexx-4.01-GA\bin 2021-10-31 07:32 PM 1,845 testpipe.class 2021-10-28 05:23 PM 334 testpipe.njp 2021-10-31 07:32 PM 4,180 testpipe_apipe.class 2021-10-31 07:32 PM 314 testpipe_apipe_sortRexx_2.class 4 File(s) 6,673 bytes 0 Dir(s) 1,035,455,619,072 bytes free z:\NetRexx-4.01-GA\bin>java testpipe 10 Error: Unable to initialize main class testpipe Caused by: java.lang.NoClassDefFoundError: org/netrexx/njpipes/pipes/ThreadQ *z:\NetRexx-4.01-GA\bin*>java testpipe Error: Unable to initialize main class testpipe Caused by: java.lang.NoClassDefFoundError: org/netrexx/njpipes/pipes/ThreadQ z:\NetRexx-4.01-GA\bin>java testpipe_apipe Error: Could not find or load main class testpipe_apipe Caused by: java.lang.NoClassDefFoundError: org/netrexx/njpipes/pipes/pipe z:\NetRexx-4.01-GA\bin>set | find "CLASSPATH" CLASSPATH=Z:\NetRexx-4.01-GA\lib\jansi-1.18.jar;*Z:\NetRexx-4.01-GA\bi**n*;Z:\NetRexx-4.01-GA\build\lib\*; I wonder if it is because I am using Microsoft OpenJDK implementation. z:\NetRexx-4.01-GA\bin>java -version openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment Microsoft-18724 (build 11.0.10+9) OpenJDK 64-Bit Server VM Microsoft-18724 (build 11.0.10+9, mixed mode) In fact this may indeed be the problem. z:\NetRexx-4.01-GA\bin>nrc hello java -cp "Z:\NetRexx-4.01-GA\lib\jansi-1.18.jar;Z:\NetRexx-4.01-GA\bin;Z:\NetRexx-4.01-GA\build\lib\*;;;z:\NetRexx-4.01-GA\lib\NetRexxF.jar;." -Dnrx.compiler=ecj org.netrexx.process.NetRexxC hello NetRexx portable processor 4.01-GA build 573-20210320-2000 Copyright (c) RexxLA, 2011,2021. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program hello.nrx Compilation of 'hello.nrx' successful z:\NetRexx-4.01-GA\bin>java hello Exception in thread "main" java.lang.NoClassDefFoundError: netrexx/lang/RexxIO at hello.main(hello.java:2) Caused by: java.lang.ClassNotFoundException: netrexx.lang.RexxIO at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 1 more I thought I had tried this before. . .something has mucked up my environment. I also cannot find any detailed description of callpipe and addpipe. They just magically appear in some of the examples with no prior explanation. I will look at rebuilding my environment from scratch with a different JDK to see if that helps. Thanks again for your help. Cheers Colin On 2021-10-31 06:39, René Jansen wrote: > I wish I had an ‘unsound’ button. > > No, SORT is right. > > In this case, as remarked in the source, you have to run java testpipe > - works here. > > René. > >> On 31 Oct 2021, at 14:36, René Jansen <rvj...@xs...> wrote: >> >> Hi Colin, >> >> The only thing is, you cannot specify a .class extension after a >> filename when invoking java through the java.exe processor. This is >> outside of our control. >> >> Interestingly, I just ran the class, and the example uncovers an >> error in the sort stage, or so it seems. Just in time for NetRexx >> 4.0.2 - and your examples prompted a documentation change, there was >> too much left implicit. >> >> Best regards, >> >> René. >> >> >>> On 31 Oct 2021, at 06:49, Colin <net...@im...> wrote: >>> >>> Thanks Rene >>> >>> I am still a little confused though. >>> >>> I have a file called testpipe.nrx which has been copied from the >>> Pipelines Quick Start manual >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>dir testpipe* >>> Volume in drive Z is OS >>> Volume Serial Number is 643B-12E5 >>> >>> Directory of z:\NetRexx-4.01-GA\bin >>> >>> 2021-10-28 05:23 PM 334 testpipe.nrx >>> 1 File(s) 334 bytes >>> 0 Dir(s) 1,038,705,549,312 bytes free >>> >>> z:\NetRexx-4.01-GA\bin>type testpipe.nrx >>> class testpipe >>> >>> method testpipe(avar=Rexx) >>> >>> F = Rexx 'abase' >>> T = Rexx 1 >>> >>> F[0]=5 >>> F[1]=222 >>> F[2]=3333 >>> F[3]=1111 >>> F[4]=55 >>> F[5]=444 >>> >>> pipe (apipe stall 1000 ) >>> stem F | sort | prefix literal {avar} | console | stem T >>> >>> loop i=1 to T[0] >>> say 'T['i']='T[i] >>> end >>> >>> method main(a=String[]) static >>> >>> testpipe(Rexx(a)) >>> z:\NetRexx-4.01-GA\bin> >>> >>> >>> My understanding is that I am supposed to use pipc to compile it. >>> >>> >>> z:\NetRexx-4.01-GA\bin>pipc testpipe >>> 16 +++ stem F | sort | prefix literal {avar} | console | stem T >>> +++ ^ >>> +++ Error: Unexpected character found in source: '{' >>> (hexadecimal encoding: 007B) >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>dir testpipe* >>> Volume in drive Z is OS >>> Volume Serial Number is 643B-12E5 >>> >>> Directory of z:\NetRexx-4.01-GA\bin >>> >>> 2021-10-28 05:23 PM 334 testpipe.nrx >>> 1 File(s) 334 bytes >>> 0 Dir(s) 1,038,709,510,144 bytes free >>> >>> >>> Hmmm.. . . maybe I am supposed to call it testpipe.njp. Let's >>> rename it. >>> >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>rename testpipe.nrx testpipe.njp >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>dir testpipe* >>> Volume in drive Z is OS >>> Volume Serial Number is 643B-12E5 >>> >>> Directory of z:\NetRexx-4.01-GA\bin >>> >>> 2021-10-28 05:23 PM 334 testpipe.njp >>> 1 File(s) 334 bytes >>> 0 Dir(s) 1,038,709,354,496 bytes free >>> >>> z:\NetRexx-4.01-GA\bin>pipc testpipe >>> pipe (testpipe_apipe stall 1000 ) stem F | sort | prefix literal >>> arg(string 'avar'} | console | stem T >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>dir testpipe* >>> Volume in drive Z is OS >>> Volume Serial Number is 643B-12E5 >>> >>> Directory of z:\NetRexx-4.01-GA\bin >>> >>> 2021-10-30 10:31 PM 1,845 testpipe.class >>> 2021-10-28 05:23 PM 334 testpipe.njp >>> 2021-10-30 10:31 PM 4,180 testpipe_apipe.class >>> 2021-10-30 10:31 PM 314 testpipe_apipe_sortRexx_2.class >>> 4 File(s) 6,673 bytes >>> 0 Dir(s) 1,038,709,751,808 bytes free >>> >>> >>> This looks much more promising. Let's run it. >>> >>> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin> >>> z:\NetRexx-4.01-GA\bin>java testpipe >>> Error: Unable to initialize main class testpipe >>> Caused by: java.lang.NoClassDefFoundError: >>> org/netrexx/njpipes/pipes/ThreadQ >>> >>> That didn't work so I wonder if I am supposed to execute the >>> testpipe_apipe.class instead. >>> >>> >>> z:\NetRexx-4.01-GA\bin>java testpipe_apipe.class >>> Error: Could not find or load main class testpipe_apipe.class >>> Caused by: java.lang.ClassNotFoundException: testpipe_apipe.class >>> >>> z:\NetRexx-4.01-GA\bin> >>> >>> >>> Not sure what I am doing wrong. >>> >>> Thanks >>> Colin >>> >>> >>> On 2021-10-30 07:23, René Jansen wrote: >>>> Hi Leslie, Colin, >>>> >>>> This source needs the pipes compiler - please try with pipc (pipc: aliased to java org.netrexx.njpipes.pipes.compiler) - it needs that step to sort out the variable inclusion. Colins analysis that the NetRexx compiler cannot handle this is correct. If you can include a version of the source that does not include | (pipes) at the start I can easier check that for you. >>>> >>>> Best regards, >>>> >>>> René. >>>> >>>> >>>>> On 28 Oct 2021, at 12:36, J Leslie Turriff<jlt...@ma...> wrote: >>>>> >>>>> I'm trying to use a simple pipeline in a NetRexx routine, but nrc doesn't like my >>>>> variable substitution: >>>>> >>>>> ~/bin/NetRexx >>>>> | $ echo $JAVA_HOME >>>>> | >>>>> | @05:27:11,leslie@pinto rc=0 >>>>> | ~/bin/NetRexx >>>>> | $ echo $CLASSPATH >>>>> | .:/home/leslie/bin/NetRexx/:/usr/java/jdk-17:/usr/local/NetRexx-4.01-GA/lib/NetRexxF.jar >>>>> | @05:27:21,leslie@pinto rc=0 >>>>> | ~/bin/NetRexx >>>>> | $ cat newTree.nrx >>>>> | -- .-----------------------------------------------------------------------. -- >>>>> | -- | Change Log | -- >>>>> | -- |Version Date Description | -- >>>>> | -- |------- ---------- ----------------------------------------------------| -- >>>>> | -- | | -- >>>>> | -- |1.0 2021-10-27 Creation | -- >>>>> | -- '-----------------------------------------------------------------------' -- >>>>> | import org.netrexx.njpipes.pipes. >>>>> | trace off >>>>> | parse arg treeBase >>>>> | treePipe(Rexx(treeBase)) >>>>> | exit 0 >>>>> | ------------------------------------------------------------------------------- >>>>> | method treePipe(treeArguments) >>>>> | pipe (fixTree) >>>>> | command /usr/bin/tree {treeArguments} >>>>> | | tree: split at /[/ >>>>> | | merge: specs select 1 1-* next >>>>> | select 0 1-* next >>>>> | select 2 1-* next >>>>> | | console >>>>> | ? tree: split at /]/ | attrs: >>>>> | ? attrs: | merge: >>>>> | --===========================================================================-- >>>>> | @05:27:31,leslie@pinto rc=0 >>>>> | ~/bin/NetRexx >>>>> | $ nrc newTree.nrx >>>>> | NetRexx portable processor 4.01-GA build 573-20210320-2000 >>>>> | Copyright (c) RexxLA, 2011,2021. All rights reserved. >>>>> | Parts Copyright (c) IBM Corporation, 1995,2008. >>>>> | Program newTree.nrx >>>>> | 16 +++ command /usr/bin/tree {treeArguments} >>>>> | +++ ^ >>>>> | +++ Error: Unexpected character found in source: '{' (hexadecimal encoding: 007B) >>>>> | Compilation of 'newTree.nrx' failed [one error] >>>>> | @05:27:40,leslie@pinto rc=2 >>>>> >>>>> I can't see what I'm doing differently to what is described in "How to use a pipe in a >>>>> NetRexx program", page 24 of "Pipelines Guide and Reference"; I tried first putting the >>>>> pipeline into the implicit main() method, then in a separate method; neither worked, so I >>>>> looked through the examples in the NetRexx package and noticed the import statement, but >>>>> adding that didn't help either. >>>>> What am I doing wrong? >>>>> >>>>> Leslie >>>>> -- >>>>> Distribution: openSUSE Leap 15.3 x86_64 >>>>> java version "17" 2021-09-14 LTS >>>>> Java(TM) SE Runtime Environment (build 17+35-LTS-2724) >>>>> Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) >>>>> NetRexx portable processor 4.01-GA build 573-20210320-2000 >>>>> >>>>> >>>>> _______________________________________________ >>>>> netrexx-pipelines mailing list >>>>> net...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines >>>> _______________________________________________ >>>> netrexx-pipelines mailing list >>>> net...@li... >>>> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines >>> >> > |
From: René J. <rvj...@xs...> - 2021-10-31 13:55:20
|
I wish I had an ‘unsound’ button. No, SORT is right. In this case, as remarked in the source, you have to run java testpipe - works here. René. > On 31 Oct 2021, at 14:36, René Jansen <rvj...@xs...> wrote: > > Hi Colin, > > The only thing is, you cannot specify a .class extension after a filename when invoking java through the java.exe processor. This is outside of our control. > > Interestingly, I just ran the class, and the example uncovers an error in the sort stage, or so it seems. Just in time for NetRexx 4.0.2 - and your examples prompted a documentation change, there was too much left implicit. > > Best regards, > > René. > > >> On 31 Oct 2021, at 06:49, Colin <net...@im... <mailto:net...@im...>> wrote: >> >> Thanks Rene >> >> I am still a little confused though. >> >> I have a file called testpipe.nrx which has been copied from the Pipelines Quick Start manual >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>dir testpipe* >> Volume in drive Z is OS >> Volume Serial Number is 643B-12E5 >> >> Directory of z:\NetRexx-4.01-GA\bin >> >> 2021-10-28 05:23 PM 334 testpipe.nrx >> 1 File(s) 334 bytes >> 0 Dir(s) 1,038,705,549,312 bytes free >> >> z:\NetRexx-4.01-GA\bin>type testpipe.nrx >> class testpipe >> >> method testpipe(avar=Rexx) >> >> F = Rexx 'abase' >> T = Rexx 1 >> >> F[0]=5 >> F[1]=222 >> F[2]=3333 >> F[3]=1111 >> F[4]=55 >> F[5]=444 >> >> pipe (apipe stall 1000 ) >> stem F | sort | prefix literal {avar} | console | stem T >> >> loop i=1 to T[0] >> say 'T['i']='T[i] >> end >> >> method main(a=String[]) static >> >> testpipe(Rexx(a)) >> z:\NetRexx-4.01-GA\bin> >> >> >> My understanding is that I am supposed to use pipc to compile it. >> >> >> z:\NetRexx-4.01-GA\bin>pipc testpipe >> 16 +++ stem F | sort | prefix literal {avar} | console | stem T >> +++ ^ >> +++ Error: Unexpected character found in source: '{' (hexadecimal encoding: 007B) >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>dir testpipe* >> Volume in drive Z is OS >> Volume Serial Number is 643B-12E5 >> >> Directory of z:\NetRexx-4.01-GA\bin >> >> 2021-10-28 05:23 PM 334 testpipe.nrx >> 1 File(s) 334 bytes >> 0 Dir(s) 1,038,709,510,144 bytes free >> >> >> Hmmm.. . . maybe I am supposed to call it testpipe.njp. Let's rename it. >> >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>rename testpipe.nrx testpipe.njp >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>dir testpipe* >> Volume in drive Z is OS >> Volume Serial Number is 643B-12E5 >> >> Directory of z:\NetRexx-4.01-GA\bin >> >> 2021-10-28 05:23 PM 334 testpipe.njp >> 1 File(s) 334 bytes >> 0 Dir(s) 1,038,709,354,496 bytes free >> >> z:\NetRexx-4.01-GA\bin>pipc testpipe >> pipe (testpipe_apipe stall 1000 ) stem F | sort | prefix literal arg(string 'avar'} | console | stem T >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>dir testpipe* >> Volume in drive Z is OS >> Volume Serial Number is 643B-12E5 >> >> Directory of z:\NetRexx-4.01-GA\bin >> >> 2021-10-30 10:31 PM 1,845 testpipe.class >> 2021-10-28 05:23 PM 334 testpipe.njp >> 2021-10-30 10:31 PM 4,180 testpipe_apipe.class >> 2021-10-30 10:31 PM 314 testpipe_apipe_sortRexx_2.class >> 4 File(s) 6,673 bytes >> 0 Dir(s) 1,038,709,751,808 bytes free >> >> >> This looks much more promising. Let's run it. >> >> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin> >> z:\NetRexx-4.01-GA\bin>java testpipe >> Error: Unable to initialize main class testpipe >> Caused by: java.lang.NoClassDefFoundError: org/netrexx/njpipes/pipes/ThreadQ >> >> That didn't work so I wonder if I am supposed to execute the testpipe_apipe.class instead. >> >> >> z:\NetRexx-4.01-GA\bin>java testpipe_apipe.class >> Error: Could not find or load main class testpipe_apipe.class >> Caused by: java.lang.ClassNotFoundException: testpipe_apipe.class >> >> z:\NetRexx-4.01-GA\bin> >> >> >> Not sure what I am doing wrong. >> >> Thanks >> Colin >> >> >> On 2021-10-30 07:23, René Jansen wrote: >>> Hi Leslie, Colin, >>> >>> This source needs the pipes compiler - please try with pipc (pipc: aliased to java org.netrexx.njpipes.pipes.compiler) - it needs that step to sort out the variable inclusion. Colins analysis that the NetRexx compiler cannot handle this is correct. If you can include a version of the source that does not include | (pipes) at the start I can easier check that for you. >>> >>> Best regards, >>> >>> René. >>> >>> >>>> On 28 Oct 2021, at 12:36, J Leslie Turriff <jlt...@ma...> <mailto:jlt...@ma...> wrote: >>>> >>>> I'm trying to use a simple pipeline in a NetRexx routine, but nrc doesn't like my >>>> variable substitution: >>>> >>>> ~/bin/NetRexx >>>> | $ echo $JAVA_HOME >>>> | >>>> | @05:27:11,leslie@pinto rc=0 >>>> | ~/bin/NetRexx >>>> | $ echo $CLASSPATH >>>> | .:/home/leslie/bin/NetRexx/:/usr/java/jdk-17:/usr/local/NetRexx-4.01-GA/lib/NetRexxF.jar >>>> | @05:27:21,leslie@pinto rc=0 >>>> | ~/bin/NetRexx >>>> | $ cat newTree.nrx >>>> | -- .-----------------------------------------------------------------------. -- >>>> | -- | Change Log | -- >>>> | -- |Version Date Description | -- >>>> | -- |------- ---------- ----------------------------------------------------| -- >>>> | -- | | -- >>>> | -- |1.0 2021-10-27 Creation | -- >>>> | -- '-----------------------------------------------------------------------' -- >>>> | import org.netrexx.njpipes.pipes. >>>> | trace off >>>> | parse arg treeBase >>>> | treePipe(Rexx(treeBase)) >>>> | exit 0 >>>> | ------------------------------------------------------------------------------- >>>> | method treePipe(treeArguments) >>>> | pipe (fixTree) >>>> | command /usr/bin/tree {treeArguments} >>>> | | tree: split at /[/ >>>> | | merge: specs select 1 1-* next >>>> | select 0 1-* next >>>> | select 2 1-* next >>>> | | console >>>> | ? tree: split at /]/ | attrs: >>>> | ? attrs: | merge: >>>> | --===========================================================================-- >>>> | @05:27:31,leslie@pinto rc=0 >>>> | ~/bin/NetRexx >>>> | $ nrc newTree.nrx >>>> | NetRexx portable processor 4.01-GA build 573-20210320-2000 >>>> | Copyright (c) RexxLA, 2011,2021. All rights reserved. >>>> | Parts Copyright (c) IBM Corporation, 1995,2008. >>>> | Program newTree.nrx >>>> | 16 +++ command /usr/bin/tree {treeArguments} >>>> | +++ ^ >>>> | +++ Error: Unexpected character found in source: '{' (hexadecimal encoding: 007B) >>>> | Compilation of 'newTree.nrx' failed [one error] >>>> | @05:27:40,leslie@pinto rc=2 >>>> >>>> I can't see what I'm doing differently to what is described in "How to use a pipe in a >>>> NetRexx program", page 24 of "Pipelines Guide and Reference"; I tried first putting the >>>> pipeline into the implicit main() method, then in a separate method; neither worked, so I >>>> looked through the examples in the NetRexx package and noticed the import statement, but >>>> adding that didn't help either. >>>> What am I doing wrong? >>>> >>>> Leslie >>>> -- >>>> Distribution: openSUSE Leap 15.3 x86_64 >>>> java version "17" 2021-09-14 LTS >>>> Java(TM) SE Runtime Environment (build 17+35-LTS-2724) >>>> Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) >>>> NetRexx portable processor 4.01-GA build 573-20210320-2000 >>>> >>>> >>>> _______________________________________________ >>>> netrexx-pipelines mailing list >>>> net...@li... <mailto:net...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> >>> >>> _______________________________________________ >>> netrexx-pipelines mailing list >>> net...@li... <mailto:net...@li...> >>> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> >> > |
From: René J. <rvj...@xs...> - 2021-10-31 13:49:36
|
This is not my best Sunday. Unsound = Unsend > On 31 Oct 2021, at 14:39, René Jansen <rvj...@xs...> wrote: > > I wish I had an ‘unsound’ button. > |
From: René J. <rvj...@xs...> - 2021-10-31 13:39:00
|
Hi Colin, The only thing is, you cannot specify a .class extension after a filename when invoking java through the java.exe processor. This is outside of our control. Interestingly, I just ran the class, and the example uncovers an error in the sort stage, or so it seems. Just in time for NetRexx 4.0.2 - and your examples prompted a documentation change, there was too much left implicit. Best regards, René. > On 31 Oct 2021, at 06:49, Colin <net...@im...> wrote: > > Thanks Rene > > I am still a little confused though. > > I have a file called testpipe.nrx which has been copied from the Pipelines Quick Start manual > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>dir testpipe* > Volume in drive Z is OS > Volume Serial Number is 643B-12E5 > > Directory of z:\NetRexx-4.01-GA\bin > > 2021-10-28 05:23 PM 334 testpipe.nrx > 1 File(s) 334 bytes > 0 Dir(s) 1,038,705,549,312 bytes free > > z:\NetRexx-4.01-GA\bin>type testpipe.nrx > class testpipe > > method testpipe(avar=Rexx) > > F = Rexx 'abase' > T = Rexx 1 > > F[0]=5 > F[1]=222 > F[2]=3333 > F[3]=1111 > F[4]=55 > F[5]=444 > > pipe (apipe stall 1000 ) > stem F | sort | prefix literal {avar} | console | stem T > > loop i=1 to T[0] > say 'T['i']='T[i] > end > > method main(a=String[]) static > > testpipe(Rexx(a)) > z:\NetRexx-4.01-GA\bin> > > > My understanding is that I am supposed to use pipc to compile it. > > > z:\NetRexx-4.01-GA\bin>pipc testpipe > 16 +++ stem F | sort | prefix literal {avar} | console | stem T > +++ ^ > +++ Error: Unexpected character found in source: '{' (hexadecimal encoding: 007B) > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>dir testpipe* > Volume in drive Z is OS > Volume Serial Number is 643B-12E5 > > Directory of z:\NetRexx-4.01-GA\bin > > 2021-10-28 05:23 PM 334 testpipe.nrx > 1 File(s) 334 bytes > 0 Dir(s) 1,038,709,510,144 bytes free > > > Hmmm.. . . maybe I am supposed to call it testpipe.njp. Let's rename it. > > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>rename testpipe.nrx testpipe.njp > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>dir testpipe* > Volume in drive Z is OS > Volume Serial Number is 643B-12E5 > > Directory of z:\NetRexx-4.01-GA\bin > > 2021-10-28 05:23 PM 334 testpipe.njp > 1 File(s) 334 bytes > 0 Dir(s) 1,038,709,354,496 bytes free > > z:\NetRexx-4.01-GA\bin>pipc testpipe > pipe (testpipe_apipe stall 1000 ) stem F | sort | prefix literal arg(string 'avar'} | console | stem T > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>dir testpipe* > Volume in drive Z is OS > Volume Serial Number is 643B-12E5 > > Directory of z:\NetRexx-4.01-GA\bin > > 2021-10-30 10:31 PM 1,845 testpipe.class > 2021-10-28 05:23 PM 334 testpipe.njp > 2021-10-30 10:31 PM 4,180 testpipe_apipe.class > 2021-10-30 10:31 PM 314 testpipe_apipe_sortRexx_2.class > 4 File(s) 6,673 bytes > 0 Dir(s) 1,038,709,751,808 bytes free > > > This looks much more promising. Let's run it. > > > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin> > z:\NetRexx-4.01-GA\bin>java testpipe > Error: Unable to initialize main class testpipe > Caused by: java.lang.NoClassDefFoundError: org/netrexx/njpipes/pipes/ThreadQ > > That didn't work so I wonder if I am supposed to execute the testpipe_apipe.class instead. > > > z:\NetRexx-4.01-GA\bin>java testpipe_apipe.class > Error: Could not find or load main class testpipe_apipe.class > Caused by: java.lang.ClassNotFoundException: testpipe_apipe.class > > z:\NetRexx-4.01-GA\bin> > > > Not sure what I am doing wrong. > > Thanks > Colin > > > On 2021-10-30 07:23, René Jansen wrote: >> Hi Leslie, Colin, >> >> This source needs the pipes compiler - please try with pipc (pipc: aliased to java org.netrexx.njpipes.pipes.compiler) - it needs that step to sort out the variable inclusion. Colins analysis that the NetRexx compiler cannot handle this is correct. If you can include a version of the source that does not include | (pipes) at the start I can easier check that for you. >> >> Best regards, >> >> René. >> >> >>> On 28 Oct 2021, at 12:36, J Leslie Turriff <jlt...@ma...> <mailto:jlt...@ma...> wrote: >>> >>> I'm trying to use a simple pipeline in a NetRexx routine, but nrc doesn't like my >>> variable substitution: >>> >>> ~/bin/NetRexx >>> | $ echo $JAVA_HOME >>> | >>> | @05:27:11,leslie@pinto rc=0 >>> | ~/bin/NetRexx >>> | $ echo $CLASSPATH >>> | .:/home/leslie/bin/NetRexx/:/usr/java/jdk-17:/usr/local/NetRexx-4.01-GA/lib/NetRexxF.jar >>> | @05:27:21,leslie@pinto rc=0 >>> | ~/bin/NetRexx >>> | $ cat newTree.nrx >>> | -- .-----------------------------------------------------------------------. -- >>> | -- | Change Log | -- >>> | -- |Version Date Description | -- >>> | -- |------- ---------- ----------------------------------------------------| -- >>> | -- | | -- >>> | -- |1.0 2021-10-27 Creation | -- >>> | -- '-----------------------------------------------------------------------' -- >>> | import org.netrexx.njpipes.pipes. >>> | trace off >>> | parse arg treeBase >>> | treePipe(Rexx(treeBase)) >>> | exit 0 >>> | ------------------------------------------------------------------------------- >>> | method treePipe(treeArguments) >>> | pipe (fixTree) >>> | command /usr/bin/tree {treeArguments} >>> | | tree: split at /[/ >>> | | merge: specs select 1 1-* next >>> | select 0 1-* next >>> | select 2 1-* next >>> | | console >>> | ? tree: split at /]/ | attrs: >>> | ? attrs: | merge: >>> | --===========================================================================-- >>> | @05:27:31,leslie@pinto rc=0 >>> | ~/bin/NetRexx >>> | $ nrc newTree.nrx >>> | NetRexx portable processor 4.01-GA build 573-20210320-2000 >>> | Copyright (c) RexxLA, 2011,2021. All rights reserved. >>> | Parts Copyright (c) IBM Corporation, 1995,2008. >>> | Program newTree.nrx >>> | 16 +++ command /usr/bin/tree {treeArguments} >>> | +++ ^ >>> | +++ Error: Unexpected character found in source: '{' (hexadecimal encoding: 007B) >>> | Compilation of 'newTree.nrx' failed [one error] >>> | @05:27:40,leslie@pinto rc=2 >>> >>> I can't see what I'm doing differently to what is described in "How to use a pipe in a >>> NetRexx program", page 24 of "Pipelines Guide and Reference"; I tried first putting the >>> pipeline into the implicit main() method, then in a separate method; neither worked, so I >>> looked through the examples in the NetRexx package and noticed the import statement, but >>> adding that didn't help either. >>> What am I doing wrong? >>> >>> Leslie >>> -- >>> Distribution: openSUSE Leap 15.3 x86_64 >>> java version "17" 2021-09-14 LTS >>> Java(TM) SE Runtime Environment (build 17+35-LTS-2724) >>> Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing) >>> NetRexx portable processor 4.01-GA build 573-20210320-2000 >>> >>> >>> _______________________________________________ >>> netrexx-pipelines mailing list >>> net...@li... <mailto:net...@li...> >>> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> >> >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... <mailto:net...@li...> >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines <https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines> > |