> More likely: "EXECIO * DISKR" ddn1 "(STEM foo."
Actually, I meant EXECIO '*' DISKR ddn1 1 '(' STEM foo.
Of course, in most cases they will be equivalent, but if you were reading ddn1
and wanted to start at the beginning then you need the 1, and I added it from
force of habit; since the EXECIO was at the beginning of the source code, I
could have dropped the 1.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Paul Gilmartin [[email protected]]
Sent: Friday, March 20, 2020 9:44 PM
To: [email protected]
Subject: Re: Does anybody remember CLIST?
On Sat, 21 Mar 2020 00:39:16 +0000, CM Poncelet wrote:
>No, there is no problem with that. I assume you meant "EXECIO 1 DISKR
>"ddn1" (STEM foo."
>
More likely: "EXECIO * DISKR" ddn1 "(STEM foo."
>The problem happens e.g. if a variable X contains the names of other
>variables, which in turn contain the names of yet other variables etc.
>etc. which finally - with say names Z1 Z2 Z3 etc. - have values that
>need to be accessed.
>
How did you *ever* come to be in that situation?
>We can "VPUT X (and all the other variables' names) SHARED" and call an
>
Why drag ISPF into the game?
>external exec. It issues "VGET X SHARED" and then "VGET "X" SHARED". But
>how does it then VGET the other variables and their values in such way
>that they can be processed? The variable names can be VGET as data, but
>REXX cannot use data - such as names Z1 Z2 Z3 etc. - as names of
>variables (although INTERPRET *might* be able to fix that.)
>
VALUE() should suffice.
>Clist can allocate variable names dynamically, using &'s, and can then
>use SYSSCAN to control how many &'s are interpreted. Its problem is it
>
Ouch! And such people sneer at C.
>cannot ADDRESS environments and cannot process binary data, which REXX can.
>
In effect, CLIST can ADDRESS one environment, TSO.
(What are ISPEXEC and ISREDIT? Perhaps TSO subcommands?)
Are the examples in the ISPF docs still biased toward CLIST rather than Rexx?
Did CMS ISPF ever recover from the need to:
ADDRESS ISPEXEC ISPEXEC whatever-command?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN