IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to access jobs in the output queue


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Thu Oct 06, 2011 2:41 am
Reply with quote

The Spool has input log and output log.

In the input log the jobs currently being executed is visible.

In the output log the jobs which have been executed is visible.

Because ---ISFACT ST TOKEN ( (TOKEN.) ) PARM(NP ?)----
gives details from both input and output log.

Please let me know how to access the job's from the output log only.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 06, 2011 3:04 am
Reply with quote

Quote:
The Spool has input log and output log.
icon_question.gif icon_question.gif icon_question.gif
learn the proper terminology... most probably You meant queues.
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Thu Oct 06, 2011 3:06 am
Reply with quote

Correcting...I need information on how to access Output Queue in Spool..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 06, 2011 3:14 am
Reply with quote

I posted working snippets..
if You search the forums You will easily find them.

to save some of Your precious time I did it for You and here is the link
www.ibmmainframes.com/viewtopic.php?t=54926&highlight=
the snippets have been tested and are working
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Fri Oct 07, 2011 1:39 am
Reply with quote

The snippets were very informative...but I am still not Clear on How to access Output Queue in SDSF using REXX.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2011 2:00 am
Reply with quote

Hello,

Quote:
but I am still not Clear on How to access Output Queue in SDSF using REXX
That topic accesses the output queue using rexx.

Where are you stuck? That topic has working code you can copy to your system. . .

Can you not simply modify the provided code to do what you want?

Hopefully, you are not expecting someone here to actually do your specific task for you . . .
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Fri Oct 07, 2011 2:03 am
Reply with quote

I got it..Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2011 2:09 am
Reply with quote

Hello,

By now you should know that posting "it didn't work" is just a waste of everyone's time. . .

What happened? An error? An abend? Undesired results?

Suggest you use the actual code provided for an initial test and if there are problems show us what they are. If the code from the linked topic works, modify for your use and continue. If the original will not work on your system, that needs to be addressed first.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Fri Oct 07, 2011 2:12 am
Reply with quote

Quote:
but I am still not Clear on How to access Output Queue in SDSF using REXX.


the snippets I referred to do access the output queue using REXX
maybe if You' d care to be more specific on the meaning You assign to the buzzwords access Output Queue

the first snippet lists the jobs based on a prefix
the second snippet lists the ddnames of the jobs
the third snippet displays the content ( aka data ) of the first three datasets of the jobs
( the first three datasets are the JES related datasets )

and I call all that, guess what accessing the Output Queue using REXX

did You care to look at the the SDSF manual
here for example
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISF4BK80
up to you to look for the one related to Your zOS level

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

we are not here to build customized examples for Your needs,
but to share what we know and what we have done

it' s up to you to try to understand and to post clear questions
as per ( suggested novemtrigillion times )
how to ask questions the smart way
here catb.org/~esr/faqs/smart-questions.html
or .. for a more PC language
here support.microsoft.com/kb/555375
useful also to forecast the comments You might receive

telling only that You are not clear on a very generic requirement
just &pisses off people willing to help
nuff said

topic edit to add a comment
to be sure... I just retested the snippets and they work as described

did You also take note of thelast link which points to a good ( even if a bit boring ) tutorial ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2011 2:18 am
Reply with quote

Hello,

Quote:
I got it..Thanks
Our replies are interleaving. . . icon_wink.gif

Good to hear it is working - thank you for letting us know icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Fri Oct 07, 2011 2:22 am
Reply with quote

follow on ...
and You should thank &deity that I am in a very good mood icon_cool.gif
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Fri Oct 07, 2011 2:27 am
Reply with quote

ISFFILTER="QUEUE = PRINT" would have been enough on the first place.


From the beginning I am clear about the requirements.

There was no error as such before...jobs from both queues were getting deleted earlier. icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Fri Oct 07, 2011 2:32 am
Reply with quote

Quote:
From the beginning I am clear about the requirements.

Quote:
access output queue

clear as mud icon_evil.gif

and as said before the examples posted satisfied the foggy requirement of accessing
maybe the data fetched while satisfying my requirements was completely irrelevant for Yours...
the ISFFILTER has always been there
and if You look at the manuals the might be also a different way by issuing the H or the O commands
I did not look to closely because the way I posted was enough for me

build on the snippets posted to fetch more columns for a <programmed> fltering
or expand the ISFFILTER for a more granular selection.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 07, 2011 3:02 am
Reply with quote

Hello,

Quote:
jobs from both queues were getting deleted earlier
Yup, very tough to find when they are gone. . . icon_smile.gif

d
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Fri Oct 07, 2011 5:51 am
Reply with quote

yes..indeed...but the logon session was intact!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts purge jobs with return code 0 and ret... JCL & VSAM 4
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts Reroute print output via REXX/SDSF TSO/ISPF 6
No new posts External data queue (changes?) CLIST & REXX 0
No new posts Concatenate 2 input datasets and give... JCL & VSAM 2
Search our Forums:

Back to Top