Automatic JCL/PGM to know the status of job in spool



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

Re: Automatic JCL/PGM to know the status of job in spool

Postby Delli » Wed Jul 03, 2013 4:15 pm

This is not something which i look for output. This is basically timer job which will be run continuously. This has to be up and running every time. Without seeing spool, can i achieve this?
Delli
 
Posts: 6
Joined: Tue Jul 02, 2013 12:55 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic JCL/PGM to know the status of job in spool

Postby Blackthorn » Wed Jul 03, 2013 5:11 pm

Have you bothered reading any of the earlier replies which suggest checking TWS rather than the spool?
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Automatic JCL/PGM to know the status of job in spool

Postby prino » Wed Jul 03, 2013 5:48 pm

Delli wrote:... This is basically timer job which will be run continuously. This has to be up and running every time. ...

And the customer pick up the tab for excessive CPU usage. Nice one...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: Automatic JCL/PGM to know the status of job in spool

Postby dick scherrer » Wed Jul 03, 2013 10:21 pm

Hello,

This has to be up and running every time. ...

Well managed systems will not permit some user/programmer task to do this. . .

Why does someone believe this needs to be running all the time? I believe you need to reconsider the design or even the "requirement". I don't yet understand why you cannot accomplish what you want using the system scheduling software :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Automatic JCL/PGM to know the status of job in spool

Postby Delli » Thu Jul 04, 2013 10:07 am

What is TWS? I'm not sure about this?
Delli
 
Posts: 6
Joined: Tue Jul 02, 2013 12:55 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic JCL/PGM to know the status of job in spool

Postby NicC » Thu Jul 04, 2013 4:07 pm

What is TWS? I'm not sure about this?

Did you actually try to find out yoursef? If not - try Google with "TWS & mainframe"
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Automatic JCL/PGM to know the status of job in spool

Postby mackyboi » Fri Nov 29, 2013 8:08 am

You can write a REXXSDSF that can check the jobs in the spool and check if executing via the DA tables
mackyboi
 
Posts: 1
Joined: Thu Oct 08, 2009 2:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic JCL/PGM to know the status of job in spool

Postby steve-myers » Tue Dec 03, 2013 7:18 pm

Delli wrote:I agree, going to spool and checking the status is very simple. ...
Obviously written by someone with little experience. Just exactly what kind of "status" is Deli looking for? This seems to be missing in all the comments so far.

"Going to spool" raises major security concerns just by the statement: whoever defined the "requirement" seems to be more of a newbie than Delli.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Automatic JCL/PGM to know the status of job in spool

Postby Ed Goodman » Tue Dec 03, 2013 9:21 pm

Doesn't OPC have a batch interface? All the schedulers I've used had one.

We use Control-M here, and for this kind of attention, you can add a line to all of the schedule entries to let someone know when something abends. You can also send messages for when jobs finish.

The best part is, you don't need to set up additional long running jobs, because guess what the scheduler is already doing...it's WATCHING FOR JOBS TO RUN AND FINISH!!
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Previous

Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post