> Isn't writing code macros a bit dated?
No. Aren't editors that don't allow writing macros a bit dated? Trivial example:
/* REXX from TSPF - not tested in ISPF */
address ISREDIT
"MACRO"
"CURSOR = 1 1"
"(NEW) = LINENUM .ZCSR"
"(LAST) = LINENUM .ZLAST"
"(NLINE) = LINE" NEW
do while NEW ¬= LAST
OLD =NEW
OLINE=NLINE
"CURSOR =" OLD+1
"(NEW) = LINENUM .ZCSR"
"(NLINE) = LINE "NEW
if NLINE=OLINE
then do
'DELETE' NEW
'CURSOR =' OLD
"(NEW) = LINENUM .ZCSR"
end
"(LAST) = LINENUM .ZLAST"
end
> In Vim I can record macros.
In ISPF I don't need them.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
David Crayford [[email protected]]
Sent: Wednesday, January 27, 2021 8:18 PM
To: [email protected]
Subject: Re: ISPF for mainframe Linux
On 28/01/2021 8:25 am, Seymour J Metz wrote:
> Yes, and you can write macros for it. Still, when you have ISPF available
> there's little call to use TSO EDIT.
Isn't writing code macros a bit dated? In Vim I can record macros.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List [[email protected]] on behalf of
> Tony Harminc [[email protected]]
> Sent: Wednesday, January 27, 2021 4:00 PM
> To: [email protected]
> Subject: Re: ISPF for mainframe Linux
>
> On Wed, 27 Jan 2021 at 11:21, Tom Brennan <[email protected]> wrote:
>
>> That's probably true, but around 2005 when I didn't have enough z/OS
>> work to do, I moved about half my time over to the dark side of AIX,
>> Linux, and at least a couple of other Unixes that I can't remember -
>> working with a bunch of folks who never touched a mainframe. I don't
>> remember a single complaint about vi from them. I did ask why (in the
>> world) they used it, and they said because it's always available by
>> default - no install needed.
> TSO "EDIT" is always available on z/OS... Doesn't even require a 3270!
>
> Tony H.
>
> ----------------------------------------------------------------------
> 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
----------------------------------------------------------------------
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