- Oct
- 363
- 2
Hello –
I ask this to all the users that use REXX support.
I not sure where the issue is here, but this is what I see.
I been using the integrated REXX support for many years now and of all the scripting languages, REXX seems to be the most transparent, ie all of my REXX scripts are *.cmd files
I started a (virtual) XP system that has object REXX installed – since the fix in 10.x of a take, I been using Regina REXX, so I don’t know if something changed in object REXX and/or take – I do know the care taker of Regina did say that the object REXX folks did make some sort of API change.
This is what I found – -
I tested this with the integrated REXX with an interactive script, ie running with “trace ?r”
I found different result with object and Regina when passing a command to the environment, ie
address cmd “.... “
I would do this to get the value of tcc internal variables, ie “_ip” I would do this with the rexx cmd
address cmd “set ans=%_ip”
then I can use
ip_addr = value( “ans”,, “environment” )
it seems not to work in object
I then tried
address cmd “echo hello”
and that worked fine, but
address cmd “echo %computername”
resulted in
%computername
now when using Regina, it worked as expected
I did notice that object REXX has a process running that has “API” in the name – does anyone know if that process has anything to do with the object REXX API?
So is anyone using object REXX with success with take?
Thanks
I ask this to all the users that use REXX support.
I not sure where the issue is here, but this is what I see.
I been using the integrated REXX support for many years now and of all the scripting languages, REXX seems to be the most transparent, ie all of my REXX scripts are *.cmd files
I started a (virtual) XP system that has object REXX installed – since the fix in 10.x of a take, I been using Regina REXX, so I don’t know if something changed in object REXX and/or take – I do know the care taker of Regina did say that the object REXX folks did make some sort of API change.
This is what I found – -
I tested this with the integrated REXX with an interactive script, ie running with “trace ?r”
I found different result with object and Regina when passing a command to the environment, ie
address cmd “.... “
I would do this to get the value of tcc internal variables, ie “_ip” I would do this with the rexx cmd
address cmd “set ans=%_ip”
then I can use
ip_addr = value( “ans”,, “environment” )
it seems not to work in object
I then tried
address cmd “echo hello”
and that worked fine, but
address cmd “echo %computername”
resulted in
%computername
now when using Regina, it worked as expected
I did notice that object REXX has a process running that has “API” in the name – does anyone know if that process has anything to do with the object REXX API?
So is anyone using object REXX with success with take?
Thanks