Sdsf output queue adjustment



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

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?
jacobscarf
 
Posts: 2
Joined: Sat Dec 14, 2019 5:53 am
Has thanked: 1 time
Been thanked: 0 time

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
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

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.
willy jensen
 
Posts: 463
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

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: 640
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

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
prino
 
Posts: 640
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

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:
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
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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

These users thanked the author Pedro for the post:
jacobscarf (Tue Dec 17, 2019 6:17 pm)
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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.
jacobscarf
 
Posts: 2
Joined: Sat Dec 14, 2019 5:53 am
Has thanked: 1 time
Been thanked: 0 time

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.
willy jensen
 
Posts: 463
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post