Access TWS-Scheduled JOBs information through REXX & JCL



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

Access TWS-Scheduled JOBs information through REXX & JCL

Postby fornanthakumar » Thu Oct 28, 2010 12:12 am

Hi,

I am on creating tool which "Getting ABENED Jobs from TWS and send to developers through mail".

I just want to know how do i access TWS related information like,

1. How many JOBs are in schedule?
2. How many JOBs are ABENDed and its list?

Can anyone help me out and suggest i can use this one or that one. Thanks a lot for your help.

Regards,
Nanthu.Y
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Access TWS-Scheduled JOBs information through REXX & JCL

Postby expat » Thu Oct 28, 2010 11:34 am

Why not just execute a mail step in the batch job which is conditionally executed.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Access TWS-Scheduled JOBs information through REXX & JCL

Postby fornanthakumar » Tue Nov 02, 2010 12:18 am

Hi Expat,

Its going to be automated. I can execute the Mail step after the get the ABEND details manually. The problem here is taking number of ABENDs from TWS according to different project's JOBs is time taking process. So i just want to get those details from TWS through REXX coding. Hope you understand my situation.

Questions are

1. How do i communicate with TWS through REXX?
2. How do i get the JOBs details and other ABEND data from TWS through REXX coding?
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Access TWS-Scheduled JOBs information through REXX & JCL

Postby dick scherrer » Tue Nov 02, 2010 12:48 am

Hello,

Suggest you ask TWS support. . .

If what you want is possible, they will know how to do it (and probably have sample code).
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: Access TWS-Scheduled JOBs information through REXX & JCL

Postby enrico-sorichetti » Tue Nov 02, 2010 1:50 am

any reason not to look at the manual Yourself ? :evil:

IBM Tivoli Workload Scheduler for z/OS Programming Interfaces
http://publibz.boulder.ibm.com/cgi-bin/ ... 0125151709

it will tell all You might want to know about TWS and REXX interaction
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Access TWS-Scheduled JOBs information through REXX & JCL

Postby fornanthakumar » Thu Nov 04, 2010 5:08 am

I will look for this and let you know if this friendly manual doesnot have what i want.
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Access TWS-Scheduled JOBs information through REXX & JCL

Postby fornanthakumar » Tue Nov 09, 2010 3:34 am

Hi Enrico-Sorichetti,

I failed in found the exact solution from the manual. So Please help on this.
Regards,
Nanthu.Y.
fornanthakumar
 
Posts: 69
Joined: Fri Oct 22, 2010 1:58 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post