[Oorexx-devel] Calling programs that are passed in a buffer?

2009-05-11 Thread Rony G. Flatscher
To execute a program with an interpreter instance, one can get a thread context and then use "->CallProgram(name, array)", which expects the program to be stored in a file named "name", supplying it with the arguments in "array". However, if Rexx scripts are passed via a buffer (e.g. retrieved fro

Re: [Oorexx-devel] Calling programs that are passed in a buffer?

2009-05-11 Thread Rick McGuire
There is no CallProgramFromData(), but you can use NewRoutine() to create a routine object and call thatwhich is essentially the equivalent. Rick On Mon, May 11, 2009 at 12:10 PM, Rony G. Flatscher wrote: > To execute a program with an interpreter instance, one can get a thread > context and

[Oorexx-devel] (Re: Calling programs that are passed in a buffer?

2009-05-11 Thread Rony G. Flatscher
Rick McGuire wrote: > There is no CallProgramFromData(), but you can use NewRoutine() to > create a routine object and call thatwhich is essentially the > equivalent. > Thank you! ---rony -- The NEW KODAK i700 Ser

[Oorexx-devel] Question ad condition object's traceback list

2009-05-11 Thread Rony G. Flatscher
Analyzing the contents of the condition object in order to create the lines ooRexx creates, if run on the command line and hitting an error. (This is intended to be returned in form of a message string to Java, in case a syntax error occurs on the Rexx side.) It seems that the traceback list doe

Re: [Oorexx-devel] Question ad condition object's traceback list

2009-05-11 Thread Rick McGuire
This is the correct result. The traceback only includes lines back to the point where the condition was trapped. Since your internal routine call inherits the signal on settings from the call, the error trap is triggered while still in the internal routine, so line 2 does not get added to the tra

Re: [Oorexx-devel] Question ad condition object's traceback list

2009-05-11 Thread Rony G. Flatscher
Rick McGuire wrote: > This is the correct result. The traceback only includes lines back to > the point where the condition was trapped. Since your internal > routine call inherits the signal on settings from the call, the error > trap is triggered while still in the internal routine, so line 2

[Oorexx-devel] CMS/TSO Pipelines support for Rexx

2009-05-11 Thread James Johnson
I have a library that implements CMS/TSO Piprlines support for the PC. I have interfaced this library to ooRexx 4.0. To accomplish this I had to make so changes to the 4.0 beta. 1) The interface is thru a SubCom environment. I had to modify the subcom CommandHandler to pass a CallContext t

Re: [Oorexx-devel] CMS/TSO Pipelines support for Rexx

2009-05-11 Thread Rony G. Flatscher
James, please lookup "rexxpg.pdf", chapter 9, Rexx C++ Application Programming Interfaces. There you will find the C++ APIs documented, and among the documentation you will find the new options and there the option named "DIRECT_ENVIRONMENTS" which supplies a context for the purpose you need. Cha