Page 2 of 2

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 4:21 pm
by enrico-sorichetti
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

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 4:28 pm
by enrico-sorichetti
@ 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

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 4:38 pm
by thangaraaj555
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.!

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 4:50 pm
by enrico-sorichetti
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

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 4:57 pm
by raj_kumar08
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?

Re: Pulling Spool Details using REXX

PostPosted: Thu Oct 13, 2011 5:14 pm
by enrico-sorichetti
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

Re: Pulling Spool Details using REXX

PostPosted: Fri Oct 14, 2011 12:31 pm
by thangaraaj555
Hi Enrico,

The manuals were awesome! Thank you!