Vague memory from years ago--try Address ISREDIT "FIND FIRST .... There is no need to send edit commands via ISPEXEC anyway:-) On Jul 19, 2012 10:14 AM, "Rupert Reynolds" <[email protected]> wrote:
> Vague memory from years ago--try > Address ISREDIT > "FIND FIRST .... > > There is no need to send edit commands via ISPEXEC anyway:-) > On Jul 18, 2012 9:33 PM, "John Mattson" <[email protected]> wrote: > >> While I am at it... >> WHY the Ampersand "&SYSTEM" WORKS in the find, >> but if you use &PDQR rather than $PDQR it fails .... is just madness. >> 7 *-* "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE$PDQR$(&SYSTEM$' " >> >L> "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE$PDQR$(&SYSTEM$' " >> >> >> 8 *-* "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE&PDQR$(&SYSTEM$' " >> >L> "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE&PDQR$(&SYSTEM$' " >> >> +++ RC(4) +++ >> >> >> >> From: John Mattson/Epson >> To: IBM Mainframe Discussion List <[email protected]> >> Date: 07/18/2012 01:26 PM >> Subject: Re: REXX ISPF edit FIND failing >> >> >> Thanks to everyone! I have kept plugging at this and tried all your >> suggestions. >> Here is what I see so far. >> 1) There is no reason syntactically that this should not work >> "ISREDIT F ALL 'DISP=SHR,DSN=MSYS.UCMD.REMOTE&PDQR.(&SYSTEM)' " >> >> 2) For some strange reality THIS works >> "ISREDIT F FIRST 'DISP=SHR,DSN=MSYS.UCMD.REMOTE&PDQR.' " >> and this does not.. as soon as you add the "(" >> "ISREDIT F FIRST 'DISP=SHR,DSN=MSYS.UCMD.REMOTE&PDQR.(' " >> >> 3) Lizette's P' processing can be made to work (but really should not be >> necessary) >> "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE$PDQR$(&SYSTEM' " >> Works !!! >> "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE$PDQR$(&SYSTEM$' " >> Works >> "ISREDIT F ALL P'DISP=SHR,DSN=MSYS$UCMD$REMOTE$PDQR$(&SYSTEM)' " >> Does NOT >> >> Now, why "(" causes the ISREDIT FIND to go nuts, but not the >> ISREDIT FIND P' ' is quite beyond me. >> And why ")" causes ISREDIT FIND P' to go nuts, but NOT "(" is also >> >> >> Thanks to all, I now have something that works, sort of, but there is >> really something wrong with ISPF here. >> by the by, I am on zOS 1.11 >> >> >> >> ---------------------------------------------------------------------- >> 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
