Pulling Spool Details using REXX



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

Re: Pulling Spool Details using REXX

Postby enrico-sorichetti » Thu Oct 13, 2011 4:21 pm

Please let me know if somebody can help me in this code?

a YES/NO question deserves a YES/NO answer
following the rules of vocabulary the answer is YES ... but ...

You should remember that it is improper to solicit for answers because
replying on a forum is
on voluntary basis
on our own time
free of charge
based on the benevolence factor to be bestowed on the TS

reread the whole topic and meditate :geek:

why not look Yourself at the links contained in the reference I provided
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: Re: Pulling Spool Details using REXX

 

Re: Pulling Spool Details using REXX

Postby enrico-sorichetti » Thu Oct 13, 2011 4:28 pm

@ thangaraaj555

sdsf uses fixed variable names to pass data back and forth
to see which variables must be filled to provide data to <SDSF>
and which variables are filled by <SDSF> to be used by the calling REXX

look at the manual here
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ISF4BK80
up to you to look for the one related to Your zOS level

and the relative redbook SDSF and rexx
http://www.redbooks.ibm.com/abstracts/sg247419.html
and the downloadable examples ready to run

isfprefix and isffilter are used by <SDSF> to process the spool data and return the values that You find in the stem variable
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: Pulling Spool Details using REXX

Postby thangaraaj555 » Thu Oct 13, 2011 4:38 pm

Hi Enrico,

I guess, I had used the same kind of code to create a tool... I guess it should be yours.. Thanks!

But you didn't answer to my previous question? Hope you do this time around.!
thangaraaj555
 
Posts: 10
Joined: Thu Oct 13, 2011 12:17 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Pulling Spool Details using REXX

Postby enrico-sorichetti » Thu Oct 13, 2011 4:50 pm

i
sfprefix = "A5482DB1 "
isfprefix = "B5482DB1 "
isffilter = "queue = print"


I thought that my previous reply was clear :D
or probably I thought why the use of certain names

anyway the code posted is broken
the second isfprefix assignment overrides the first

isfprefix = "something"
is the same as issuing the command
prefix something

isffilter = "queue = print"
is the same as using the command
filter +queue = print

the manuals for which i posted the links and the sample code from IBM will clarify everything
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: Pulling Spool Details using REXX

Postby raj_kumar08 » Thu Oct 13, 2011 4:57 pm

To enrico-sorichetti ........Hmmmmm, thats bad..Anyways i cannot point on her on this..You cannot pin me for something i havn't done..Anyways i still need help on this...Can you help me with the questions i have?
raj_kumar08
 
Posts: 5
Joined: Thu Oct 13, 2011 12:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Pulling Spool Details using REXX

Postby enrico-sorichetti » Thu Oct 13, 2011 5:14 pm

Your TL knows that the code is not her code and should have warned You
but You cannot ask too much from a TL

if You are embarassed to tell , here is my way of helping You
YOUR TL IS AN IDIOT
I' d appreciate if you' d leave the page open in Your browser when she passes by :D
too bad that I could not use a bigger font

anyway the proper technique is to test using interactive SDSF

just forget about the prefix since You cannot have two of them around
and use just the isffilter with more than one condition

see the interactive SDSF help for hints and howto
tested and working

but have You looked at the manuals link I posted
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: Pulling Spool Details using REXX

Postby thangaraaj555 » Fri Oct 14, 2011 12:31 pm

Hi Enrico,

The manuals were awesome! Thank you!
thangaraaj555
 
Posts: 10
Joined: Thu Oct 13, 2011 12:17 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post