On Tue, 14 Jun 2022 20:24:15 +0000, Seymour J Metz wrote:

>There are three distinct languages associated with ISPF EDIT
>    ...
>    The commands for the ISREDIT environment.
> 
In a Rexx macro, I've done such as
    PARM='"Hello," says O''Reilly.'
    address ISREDIT 'LINE AFTER' N '= (PARM)'
... where the parentheses denote reference to a Rexx variable.
The variable value is treated as plain text; meta characters are
not recognized.  Extremely useful for inserting lines read from
an external source.

Does the same work for CHANGE, as in
    address ISREDIT 'CHANGE' <regular-expression>  '(PARM)'
How do I specify the regex, which may contain ISPF delimiters?
Am I expecting too much orthogonality?
The lack of regex back-references is shameful.

>None of them, of course, is a programming language.
> 
But Rexx certainly is, and can implement Edit macros.

>________________________________________
>>On Tue, 14 Jun 2022, at 15:05, Paul Gilmartin wrote:
>>
>>> Yup.  Pet peeve: ISPF Edit has no way of escaping apostrophe, which otheer
>>> IBM languages
>>
>It's repeatedly disputed in this forum whether JCL is a language.  Yet JCL has 
>a convention
>for escaping the apostrophe: ...,PARM='"Hello," says O''Reilly.'

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to