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

How to get the particular jobid in the spool


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Fri Jul 11, 2008 11:49 pm
Reply with quote

I am submitting some jobs on a particular day. I have actually putted scheduler for these jobs to run after one day when I submit the jobs.

I have noted down there jobid's for those jobs submitted. When I come after couple of days, I have to check those jobs in the spool which I have submitted couple of days back for whether the jobs have completed successfully or not.

But in spool there are so many jobid's and it is difficult for me to find it out the jobid's which I have noted down. I want the jobs, which I have submitted couple of days back should come on top in the spool so that it will be easy for me to check.

Please advise, how can I acheieve this?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Fri Jul 11, 2008 11:59 pm
Reply with quote

noo way ,
try to isolate by using the filter command
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: Sat Jul 12, 2008 12:08 am
Reply with quote

Hello,

Quote:
I want the jobs, which I have submitted couple of days back should come on top in the spool so that it will be easy for me to check
We can't always get what we want. . . . We can usually get what we need.

If you use a proper prefix, you should be able to limit the jobs returned to a more managable set.

If this is somethng you will do often, i suggest using separate jobnames which will be easy to filter.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Sat Jul 12, 2008 12:12 am
Reply with quote

If the jobs run with your userid, use the OWNER <yourID> command to show only those.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Jul 12, 2008 12:42 am
Reply with quote

You submit jobs and you come back days after to check for successful completion.

Wwouuaaahh !!! Either they run specially long time or they are not so important.
Never I can submit a job and leave the office. Imagine a loop, a eternal feeding of the JES2 spool, .....

Imagine a friend playing with your jobs ( I mean purge them after the run... ).So what?

All this is not good practice.
Back to top
View user's profile Send private message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Sat Jul 12, 2008 12:57 am
Reply with quote

Hello Ped

This is what our requirement is...we do not have the scheduler to schedule these jobs to be submitted after only after certain days.

Actually the jobs should run on weekends, we do not want to come on office on weekends and that is the reason submitting the jobs on Friday itself giving schedule day and time to run these jobs on weekend.

But we wanted to know the status of the jobs after coming on Monday. I have noted down their jobids but its difficult to find the jobs with particular jobids when there are so many jobs in the spool.

When you do not know how to filter the jobids in the spool, please keep your mouth closed. Its not neccessary that you have come accross of all those stuffs in your life.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Jul 12, 2008 1:02 am
Reply with quote

Quote:
When you do not know how to filter the jobids in the spool, please keep your mouth closed. Its not neccessary that you have come accross of all those stuffs in your life.

I am not sure I really understand!!!

But if you use a scheduler, the scheduler should have the status of a processed job. So go in and check there. How many jobs are you running.
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: Sat Jul 12, 2008 1:18 am
Reply with quote

Hello,

Quote:
When you do not know how to filter the jobids in the spool, please keep your mouth closed.
What have you seen to hint that there is/was some lack of knowledge? Your frustration is not a license for bad manners. . .

Quote:
Its not neccessary that you have come accross of all those stuffs in your life.
Pierre has already seen more "stuffs" that you are ever likely to see.

People here are willing to help you even though your system may not have the best set of tools or people who know how to work fluently within the current environment.

I'd suggest the next time you are that frustrated, type in notepad (rather than the reply editor) and when you have time to calm down, post something more productive.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Jul 12, 2008 1:28 am
Reply with quote

First, Thanks Dick.

Second, dear select-mf, even after my surprise, I gave you some track ( back to the scheduler which can keep info ).

Third, I keep thinking some behaviour can be dangerous.

Fourth, I am very proud of my profession, I love it, I know a ton, but I still discover, I STILL LEARN, so be sure you just will never alter my pleasure.

Cheers
Pierre
Back to top
View user's profile Send private message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Sat Jul 12, 2008 2:13 am
Reply with quote

1. So, that means we do not have any tool or utility or some command on the spool that can put the jobids top on the spool which one likes it.

2. I am not blaming here anybody for his/her proffession. When you have so much knowledge on mainframes, then just do not make joke of the questions being asked here. You could have given the solution whatever you have mentioned latter in the very first reply itself which you didn't.

3. When you know tons of things, instead of teaching the demeanour and all, you ought to have given the solutions which is meaningfull.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Sat Jul 12, 2008 2:14 am
Reply with quote

this Gentleman is very lucky that He does not work in the same organization
of the other guy who asked how to automate a command to purge all the sysouts every 15 minutes
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Sat Jul 12, 2008 2:20 am
Reply with quote

Quote:
When you know tons of things, instead of teaching the demeanour and all, you ought to have given the solutions which is meaningfull.


the solution was already given to You...
use the filter command to limit the number of jobs displayed
use the sort command to order in suitable way...

how in h**l is the system supposed to know that your jobs are to be put at the top of display

it would be nice if people instead of whining would use the facilities available.

we did not have any forum to ask, but we do know about the commands that have to be used icon_evil.gif
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Jul 12, 2008 2:38 am
Reply with quote

Last post here from me ( concerning this question ). Too stupid ... to continue and very surprised on such disdain.

My last problem : and I am not joking :
Quote:
then just do not make joke of the questions being asked here

Where was my joke? I was serious on what I said. Just a "wwwooouuaaahh"???

Now you can have the last word.
Back to top
View user's profile Send private message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Sat Jul 12, 2008 2:47 am
Reply with quote

All I can say is enrico-sorichetti has given meaningful reply. Appreciate your help.

Thanks.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat Jul 12, 2008 3:56 pm
Reply with quote

Hats off to all of the GENTLEMEN above (sorry Select-Mf you are not included in this lot) on how patient and restrained you are.

Personally I would not toletare such behaviour and ban him.


Gerry
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SPOOL to Mainframe dataset in batch mode JCL & VSAM 7
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts No sysout coming in spool JCL & VSAM 4
No new posts SPOOL commands for INTRDR CICS 8
Search our Forums:

Back to Top