Sdsf output queue adjustment

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
jacobscarf
Posts: 2
Joined: Sat Dec 14, 2019 5:53 am
Skillset: JCL, ispf and sdsf tools
Referer: Google

Sdsf output queue adjustment

Postby jacobscarf » Sat Dec 14, 2019 4:08 pm

I was wondering if it is any way to change color of specific column. Is it possible to e.g set max-rc column color?

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

Re: Sdsf output queue adjustment

Postby NicC » Sat Dec 14, 2019 4:27 pm

Possibly - if you have access to the panel source, know how to code panels and add your modified panel to your panel library concatenation.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: Sdsf output queue adjustment

Postby willy jensen » Sat Dec 14, 2019 8:08 pm

I will say no.
The ARRANGE command can set the column width, but not the color.
SDSF uses the same panel ISFPCU41 for several displays, the actual display is using a dynamic area populated by variable ISFBUF and you cannot influence how SDSF builds that variable, nor can you intercept and modify it. Changing the color specification of the attribute character used for the MAX-RC column will also change the color for other columns using that attribute.
But I would love to be proven wrong, it could be a nice feature.

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: Sdsf output queue adjustment

Postby prino » Sat Dec 14, 2019 8:27 pm

Yes, you can customise SDSF panels almost limitless. I'm using a bit of REXX by Doug Nadel that can colour about anything you want to colour, with some added code by me that shows the panel you're on in the address bar at the bottom of the screen. As the code is copyright IBM/Doug Nadel, I cannot share it here. Basically, any SDSF screen is a dynamic area that you can process using panel REXX.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: Sdsf output queue adjustment

Postby prino » Sat Dec 14, 2019 9:07 pm

willy jensen wrote:I will say no.

Not when you've read my PM. ;)
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: Sdsf output queue adjustment

Postby Pedro » Sun Dec 15, 2019 11:55 am

I was wondering if it is any way to change color of specific column.


I would argue that you should not change the entire column! Please only change the values that are noteworthy. For example, for MAX_RC:

Code: Select all

When (max_rc = 0) then color = normal
When (max_rc <= 4) then color = yellow
When (max_rc > 4 ) then color = red

or similar logic.
Pedro Vera

User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: Sdsf output queue adjustment

Postby Pedro » Sun Dec 15, 2019 12:00 pm

Basically, any SDSF screen is a dynamic area that you can process using panel REXX.


In this same situation, I used a rexx panel exit that is called from the )INIT section. The result is the same as using panel rexx, but I thought it was easier to edit / maintain as an actual rexx program. I suppose it is a personal preference.

See my SHARE presentation that describes this:
https://www.share.org/p/do/sd/topic=50&sid=13748
Pedro Vera

jacobscarf
Posts: 2
Joined: Sat Dec 14, 2019 5:53 am
Skillset: JCL, ispf and sdsf tools
Referer: Google

Re: Sdsf output queue adjustment

Postby jacobscarf » Tue Dec 17, 2019 2:36 pm

Thank you for all replies. I found a bit of Doug Nadel REXX, do i was managed to customize my sdsf. Despite to copyright it's still possible to find it.

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

Re: Sdsf output queue adjustment

Postby willy jensen » Wed Dec 18, 2019 8:40 pm

I was proven wrong, good ;) Never be too old to learn new tricks. I have used dynamic area before, but not in a )INIT section. Many thanks to Pedro and Prino.


  • Similar Topics
    Replies
    Views
    Last post