Thread View: comp.lang.rexx
4 messages
4 total messages
Started by Frank Clarke
Sat, 03 Jan 1998 00:00
Execution penalty for "ISPEXEC ...command.. " ?
Author: Frank Clarke
Date: Sat, 03 Jan 1998 00:00
Date: Sat, 03 Jan 1998 00:00
18 lines
1098 bytes
1098 bytes
I asked on <bit.listserv.ispf-l> before realizing it was the wrong
venue for the question:
Is there an execution penalty for any of these forms:
(a) "ISPEXEC ..some command.."
(b) address ISPEXEC "..some command.."
(c) address ISPEXEC
"..some command.."
Is the answer different in other addressors ?
Frank Clarke
Tampa Area REXX Programmers' Alliance
Member of the REXX Language Association
Join us at http://www.rexxla.org
(Remove the currency symbol before replying.)
Re: Execution penalty for "ISPEXEC ...command.. " ?
Author: Einar Clementz
Date: Sat, 03 Jan 1998 00:00
Date: Sat, 03 Jan 1998 00:00
35 lines
1637 bytes
1637 bytes
Frank Clarke wrote: > I asked on <bit.listserv.ispf-l> before realizing it was the wrong > venue for the question: > > Is there an execution penalty for any of these forms: > > (a) "ISPEXEC ..some command.." > (b) address ISPEXEC "..some command.." > (c) address ISPEXEC > "..some command.." > > Is the answer different in other addressors ? > > Frank Clarke > Tampa Area REXX Programmers' Alliance > Member of the REXX Language Association > Join us at http://www.rexxla.org > (Remove the currency symbol before replying.) Hi Some Years ago I programmed a lot ISPF in CLIST. I used a CLIST system variable that gave the system resource manager units back. I asume that the same variable is available under REXX as well. Find it and do some test shot taking the figure before and after executing the command. I will think that there is minor differences and therefore is is not important. Regards Einar Clementz, Oslo, Norway.
Re: Execution penalty for "ISPEXEC ...command.. " ?
Author: Binyamin Dissen
Date: Sat, 03 Jan 1998 00:00
Date: Sat, 03 Jan 1998 00:00
28 lines
1545 bytes
1545 bytes
On Sat, 03 Jan 1998 00:05:05 GMT nisus$@mindspring.com (Frank Clarke) wrote: [Posted and mailed] :>I asked on <bit.listserv.ispf-l> before realizing it was the wrong :>venue for the question: :>Is there an execution penalty for any of these forms: :> (a) "ISPEXEC ..some command.." I would expect this to be the most expensive. It requires dispatching a TASK to run ISPEXEC which will then perform the command. :> (b) address ISPEXEC "..some command.." :> (c) address ISPEXEC :> "..some command.." I would expect these to be virtually identical. I think REXX initializes an environment only once, even if called many times. If you are doing multiple ISPF commands (c) is more readable. -- Binyamin_Dissen@theoffice.net Binyamin Dissen <bdissen@netvision.net.il> Director, Dissen Software, Bar & Grill - Israel
Re: Execution penalty for "ISPEXEC ...command.. " ?
Author: Mickey Ben-Tovim
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
38 lines
1728 bytes
1728 bytes
As to the ADDRESS command, REXX does not do any initialization. The address command simply tell rexx where to route the commands to. One may use the "CurAddr = Address()" to determine if the current address space is the ine you want, or to save off and restore the address. i.e. My_Procesure: x = Address() Address 'ISPEXEC' some code some more code even further code Address x Return The actual Address command only updates the internal variable REXX keeps to route system commands, and has virtually no overhead Mickey Frank Clarke wrote: > > I asked on <bit.listserv.ispf-l> before realizing it was the wrong > venue for the question: > > Is there an execution penalty for any of these forms: > > (a) "ISPEXEC ..some command.." > (b) address ISPEXEC "..some command.." > (c) address ISPEXEC > "..some command.." > > Is the answer different in other addressors ? > > Frank Clarke > Tampa Area REXX Programmers' Alliance > Member of the REXX Language Association > Join us at http://www.rexxla.org > (Remove the currency symbol before replying.)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads