On Wed, 30 Dec 2020 15:16:49 -0600, Dana Mitchell wrote:
>I do this frequently in REXX:
>
>Address ispexec 'VGET (ZSCREEN) SHARED'
>ddname='$TRAP'zscreen
>'ALLOC FI('ddname') UNIT(3390) DSO(PS) RECFM(V B) LRECL(255) NEW DEL REU'
>'EXECIO 'trap.0' DISKW 'ddname' (FINI STEM TRAP.'
>
I'm mystified. I've used very much the VGET as you wrote it to fetch an
entire screen image into a simple Rexx variable. But:
ddname='$TRAP'zscreen
... appears to be a straightforward Rexx assignment instruction, assigning to
the Rexx simple variable DDNAME the 5-character string '$TRAP' concatenating
the (several hundred character) string ZSCREEN. I see nothing affecting the
compound symbol TRAP. How does that get set? Am I missing something?
I have long wished for an ISREDIT command to fetch a range of lines, or
all the NX buffer into a compound symbol, or LMPUT from a compound
symbol rather the absurdly cumbersome MULTX construct. Why not?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN