SDSF REXX



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

SDSF REXX

Postby Viswanathchandru » Wed Sep 14, 2011 4:25 pm

Dear all,
I have a clarification with the SDSF REXX. Here in my code i'm trying to address the columns in the ST.DA panel. Hence i gave
ADDRESS SDSF " ISFEXEC ST DA"
. And my ISFFILTER is of this kind
ISFFILTER = "CPU = 18.00"
. But when i trace this code with TRACE ?I i'm getting RC of 08 from ISFEXEC. When i searched the manuals it says error with ISFFILTER. But its(CPU column) there in the addressable columns. My z/OS version is 1.9. Hope i'm clear. Can anyone guide to proceed further. Please let me know if i'm not clear. Apologies if i'm wrong.

Thanks,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: SDSF REXX

 

Re: SDSF REXX

Postby enrico-sorichetti » Wed Sep 14, 2011 4:58 pm

see here for a nice tutorial
http://publib.boulder.ibm.com/infocente ... layer.html

did You care to look t the manuals for the description of the filter-able columns and the names to use

as an alternative from <interactive> sdsf You might
from any panel of interest issue FILTER ?

   Display  Filter  View  Print  Options  Help                                 
 -------------------------------------------------------------------------------
 SDSF DA SYS1     ****     PAG  0  CPU/L    40/***      LINE 1-1 (1)           
 COMMAND INPUT ===> FILTER ?                                   SCROLL ===> CSR 
 PREFIX=ENR*  DEST=(ALL)  OWNER=*  SORT=JOBNAME/A  SYSNAME=                     
 NP   JOBNAME  StepName ProcStep JobID    Owner    C Pos DP Real Paging    SIO 
      ENRICO   $$ISPF1  LCL900   TSU04179 ENRICO     IN  F6 1375   0.00   0.16 


which will take You
   Displa ◊——————————————————————————————————————————————————————————◊         
 -------- â—Š                         Filter          Row 1 to 9 of 25 â—Š ---------
 SDSF DA  â—Š Command ===>                                             â—Š         
 COMMAND  â—Š                                                          â—Š ==> CSR 
 PREFIX=E â—Š Type filter criteria.  Type a / in the Column or Oper    â—Š         
 NP   JOB â—Š fields for valid values. Press F11/23 to clear all       â—Š     SIO 
      ENR â—Š filter criteria.                                         â—Š    0.16 
          â—Š                                                          â—Š         
          â—Š Filtering is  OFF                                        â—Š         
          â—Š                                                          â—Š         
          â—Š AND/OR between columns   AND  (AND/OR)                   â—Š         
          â—Š AND/OR within a column   OR   (AND/OR)                   â—Š         
          â—Š                                                          â—Š         
          â—Š Column             Oper  Value (may include * and %)     â—Š         
          â—Š  /                                                       â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          â—Š                                                          â—Š         
          ◊——————————————————————————————————————————————————————————◊         

and eventually here
   Displa ◊——————————————————————————————————————————————————————————◊         
 -------- â—Š                         Filter          Row 1 to 9 of 25 â—Š ---------
 SDSF DA  â—Š C ◊——————————————————————————————————————————————————————◊         
 COMMAND  â—Š   â—Š                    Column Select   Row 1 to 15 of 48 â—Š ==> CSR 
 PREFIX=E â—Š T â—Š Command ===>                                         â—Š         
 NP   JOB â—Š f â—Š                                                      â—Š     SIO 
      ENR â—Š f â—Š Selection:                                           â—Š    0.16 
          â—Š   â—Š  1.  JOBNAME                                         â—Š         
          â—Š F â—Š  2.  StepName                                        â—Š         
          â—Š   â—Š  3.  ProcStep                                        â—Š         
          â—Š A â—Š  4.  JobID                                           â—Š         
          â—Š A â—Š  5.  Owner                                           â—Š         
          â—Š   â—Š  6.  C                                               â—Š         
          â—Š C â—Š  7.  Pos                                             â—Š         
          â—Š / â—Š  8.  DP                                              â—Š         
          â—Š   â—Š  9.  PGN                Not shown in goal mode       â—Š         
          â—Š   â—Š 10.  Real                                            â—Š         
          â—Š   â—Š 11.  Paging                                          â—Š         
          â—Š   â—Š 12.  SIO                                             â—Š         
          â—Š   â—Š 13.  CPU%                                            â—Š         
          â—Š   â—Š 14.  ASID                                            â—Š         
          â—Š   â—Š 15.  ASIDX                                           â—Š         
          â—Š   â—Šâ€”—————————————————————————————————————————————————————◊         
          ◊——————————————————————————————————————————————————————————◊   


where You can find the column names...

all this to tell that the isffiler refers to a wrong column name

cheers
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: SDSF REXX

Postby Viswanathchandru » Wed Sep 14, 2011 6:56 pm

Thanks enrico for addressing the post and for your time! i did the same as what you have suggested and found CPU% is addressable in the DA panel. But even after changing that as
ADDRESS SDSF "ISFEXEC DA" ISFFILTER = "CPU% > 18.00"
. Its again throwing RC=08. Apologies if i'm wrong. Can anyone guide me how to proceed. Please correct if i'm wrong.

Thanks,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: SDSF REXX

Postby enrico-sorichetti » Wed Sep 14, 2011 9:09 pm

do You want keep trying by Yourself or You want the solution ...:D
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: SDSF REXX

Postby Viswanathchandru » Thu Sep 15, 2011 9:59 am

Hi enrico, Thanks a lot for addressing the post and for your time.
I'm really ready to try. But m not sure whether i'm doing it in the right way. There is not point in trying which is not possible(i mean doing it in the wrong way). So, Please guide me whether what i'm doing is correct or not. Apologies if i'm wrong.

Thanks,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: SDSF REXX

Postby enrico-sorichetti » Thu Sep 15, 2011 11:31 am

I had already typed the solution,
but the ADSL connection suddenly dropped!
here it is again ...
there is a misleading glitch in the docs

in the isffilter paragraph it tells that a way of finding the column <names> is
from the interactive panel enter the command FILTER ?
and in the popup panel enter a / in the first line to get a list of the column <names>

there is a big difference unfortunately,
the interactive panels filter on the column TITLES
the SDSF REXX interface filters on the column names

You have two ways of finding out ...
read the manual here
http://publibz.boulder.ibm.com/cgi-bin/ ... 0605143940
to find the names here
http://publibz.boulder.ibm.com/cgi-bin/ ... THIT#FIRST HIT
or write a simple snippet along the lines of
****** ***************************** Top of Data ******************************
000001 /*REXX - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000002 /*                                                                   */
000003 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000004 Trace  "O"
000005 Parse Source _sys _how _cmd .
000006 parse arg args
000007
000008 IsfRC = isfcalls("ON")
000009 if IsfRC ¬= 0 then do
000010     say "isfcalls RC" IsfRC
000011     exit
000012 end
000013
000014 isfprefix = "ENRICO*"
000015
000016 Address SDSF "isfexec da "
000017 say "isfexec  RC" RC
000018 say "isfcols  " isfcols
000019 say "isfcols2 " isfcols2
000020 say "isfdcols " isfdcols
000021 say "isfdcols2" isfdcols2
000022
000023 say "isfexec  RC" RC
000024 say isfmsg
000025 do  im = 1 to isfmsg2.0
000026     say isfmsg2.im
000027 end
000028
000029 call  isfcalls "OFF"
000030 exit
****** **************************** Bottom of Data ****************************

to display the columns names available
I usually prefer to find out from the executing program,
too often I have been burned by enhancement PTFs which changed something without referring to the updated docs

in the whole mess I forgot to tell that the column name for the CPU% id CPUPR :D
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: SDSF REXX

Postby Viswanathchandru » Thu Sep 15, 2011 6:52 pm

Hi enrico,
Yes your suggestions did it again!! CPUPR made the things i needed!!!! thanks enrico for your valuable inputs as always :D

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: SDSF REXX

Postby enrico-sorichetti » Thu Sep 15, 2011 6:55 pm

glad that I was able to help :oops:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post