The queue set lasts as long as the top Rexx program in the execution chain
is active. So once you return to the THE command line, the next macro you
run starts off with the default queue. Note that the queue you create, as
well as the data within the queue, will persist. If you set back to that
queue name you will find the lines. This does not apply for the SESSION
queue, which is created anew each time a Rexx environment is created.
Rick
On Sat, Jul 5, 2014 at 6:33 PM, Les Koehler <vmr...@tampabay.rr.com> wrote:
> My thestack.rex is executed by linesize.rex from the command window and
> does:
> --- clip ---
> x=rxqueue('Delete','THE')
> the=rxqueue('CREATE','THE')
> old=rxqueue('SET','THE')
> call directory 'C:\MyTHEstuff'
> parse arg file
> If pos(';',file)>0 then do
> parse arg file ';' remainder
> do while pos(';',remainder)>0
> parse var remainder more ';' remainder
> queue more
> End
> if remainder\='' then queue remainder
> End
> "C:\THE\THEc.exe -a stack_active" , /* Set the DOSTACK? eDITV flag */
> "-p c:\mythestuff\profile.the" file
> --- eclip ---
>
> to get THE started with a stack. The last thing done by profile.the is
> DOSTACK.THE, the pertinent part is:
>
> ---clip---
> oldq=rxqueue('Get')
> 'msg On entry, the qname is:' oldq
> If oldq\='THE' Then Do
> Call rxqueue 'SET','THE'
> 'msg So it has been set to: THE'
> End
> 'msg Anything there?'
> Call doq 'THE'
> Call rxqueue 'SET','SESSION'
> 'msg How about in' rxqueue('Get')
> Call doq 'SESSION'
> Call rxqueue 'SET','THE'
> 'msg qname set back to:' rxqueue('Get')
> ---eclip---
>
> and the stacked commands get executed by *dostack* from the THE qname as
> intended. However, further stack testing from the THE command line
> indicates that the THE queuename has been set back to SESSION!
> Is this working as designed? The documentation doesn't give any hint of
> this behavior :-(
>
> Les
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users