Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to access jobs in the output queue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to access jobs in the output queue
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Oct 06, 2011 3:04 am    Post subject: Reply to: Unable to retrieve Spool Output
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Oct 06, 2011 3:14 am    Post subject: Reply to: Unable to retrieve Spool Output
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
http://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    Post subject:
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

Site Director


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

PostPosted: Fri Oct 07, 2011 2:00 am    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Fri Oct 07, 2011 2:09 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Oct 07, 2011 2:12 am    Post subject: Reply to: Ho to access jobs in the output queue
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
http://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
http://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 http://catb.org/~esr/faqs/smart-questions.html
or .. for a more PC language
here http://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

Site Director


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

PostPosted: Fri Oct 07, 2011 2:18 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Oct 07, 2011 2:22 am    Post subject: Reply to: How to access jobs in the output queue
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Oct 07, 2011 2:32 am    Post subject: Reply to: How to access jobs in the output queue
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

Site Director


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

PostPosted: Fri Oct 07, 2011 3:02 am    Post subject: Reply to: How to access jobs in the output queue
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us