On 2020-09-03 09:10, Rob Scott wrote:
Can I strongly advise that you do not modify the ISFPCU41 panel.
I hope you don't mind me ignoring that advice. ;)
But don't worry, the changed panel is in my own panel library, which is
allocated in front of the IBM supplied ones, with the original one.
There could be changes to the SDSF ISPF interface that would make any
modifications you make to this panel very difficult (or impossible) to
implement into the next release of SDSF.
In which case we might have to start from the original new panel again. I
already mentioned that Doug's version is old, at least a decade, and that the
addition of a lot more attribute characters on the current panel makes his copy
look very weird on z/OS 2.4.
If there is functionality that you require in SDSF, please consider raising
an RFE.
And how long would I have to hold my breath?
Anyway, it's not very different from using the modified ISREDDE2 panel and
accompanying USRHILIT REXX exec from CBT967 to add highlighting for a heap of
other languages to the ISPF editor. For what it's worth, that modified ISREDDE2
could be changed to use panel REXX making it completely self-contained!
Robert
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/indez.html
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html
Rob Scott
Rocket Software
On 2020-09-02 16:16, Tom Conley wrote:
On 9/2/2020 11:30 AM, David Crayford wrote:
On 2020-09-03 1:47 AM, Robert Prins wrote:
This seems to go hand-in-hand with HILITE. Does it understand that
PL/I has no reserved words and that any of the above might be merely
identifiers?
ISPF HILITE is just that highlight. It do\es not do any parsing of the
language. I think EDOEND predated HILITE, and it also has an option to just
show all "myproc: proc;" ... 'end myproc;' statements
You can customize ISPF highlight code. Check out ISP.SISPSAMP(ISRPXASM)
I just updated ISRPXASM to add about 70 new COBOL and 140 new PL/I keywords.
You can grab FILE967 at www.cbttape.org<http://www.cbttape.org>. Lots of other
goodies in there.
You might also want to add ISFPCU41, Doug's version of the SDSF output panel
with lots of customizable highlighting. It will need work, as the Doug's version
dates back to a time where there were a hell of a lot less attribute characters
on the panel.
I might still have a version of one of Doug's originals (there were several),
mine is working on z/OS 1.10 (and pretty screwed up on 2.4), and includes some
additional code to highlight PL/I error messages and to add the (abbreviated)
SDSF function onto the SWAPBAR:
zscrname = word('SDSF ISF@ST ISF@O ISF@DA ISF@H ISF@I',
'ISF@LOG ISF@SR ISF@MAS ISF@JC ISF@SE',
'ISF@PS ISF@INI ISF@PR ISF@PUN',
'ISF@RDR ISF@LIN ISF@NOD ISF@SO ISF@ULG',,
wordpos(display, 'STATUS OUTPUT DA HELD INPUT',
'SYSLOG SYSTEM MAS JOB SCHEDULING',
'PROCESS INITIATOR PRINTER PUNCH',
'READER LINE NODE SPOOL ULOG') + 1)
You can see how backlevel it is...
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN