From: Rony G. F. <Ron...@wu...> - 2022-06-07 12:30:50
|
On 6/6/2022 10:23 PM, René Jansen wrote: ... cut ... > Glad you said that. This is one of the improvements of 4.04 - there you can use Classic Rexx notation for all built-in-functions (BIFs). In this case, I did that and the original decision to have only oo-invocation is Mike’s. > >> OK, back to the subject. >> Additional question: if I would program a VARLOAD stage or alike, >> and set there some variables according the data trickling through >> the pipe, would those be set within the VARLOAD routine only or >> for the NetRexx program which called the pipe in question? Would >> this also be possible from ooRexx? Probably not, but is there a >> chance to access a "common pool" from both "dialects"? Something >> adequate the GLOBALV concept of VM/CMS? Well, that would require >> some kind of "pull" in ooRexx after the NetRexx pipe finished, a >> "push" of the results (variables set directly) would be more >> appropriate. >> > We have to speak to Rony about this, I am sure BSF4ooRexx has a fitting solution here. with BSF4ooRexx you would have the ability to get and set any Rexx variable in the current context. BSF4ooRexx would allow to create the classic Rexx exits in Java and using BSF4ooRexx already one could even implement them in ooRexx! :) [Planning on adding support for the redirectable environmentto BSF4ooRexx introduced in ooRexx 5, once I have a little bit of free time on my hands. Probably sometimes in the summer.] It should be possible to write stages in ooRexx, if there is a Java interface definition for stages in the NetRexx pipes. If so, please point it out (not having had my fingers on NetRexx pipes just as of yet, short of time, but very interested in this infrastructure) and I try to come up with an example. ---rony |