Page 1 of 1

Access TWS-Scheduled JOBs information through REXX & JCL

PostPosted: Thu Oct 28, 2010 12:12 am
by fornanthakumar
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

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

PostPosted: Thu Oct 28, 2010 11:34 am
by expat
Why not just execute a mail step in the batch job which is conditionally executed.

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

PostPosted: Tue Nov 02, 2010 12:18 am
by fornanthakumar
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?

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

PostPosted: Tue Nov 02, 2010 12:48 am
by dick scherrer
Hello,

Suggest you ask TWS support. . .

If what you want is possible, they will know how to do it (and probably have sample code).

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

PostPosted: Tue Nov 02, 2010 1:50 am
by enrico-sorichetti
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

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

PostPosted: Thu Nov 04, 2010 5:08 am
by fornanthakumar
I will look for this and let you know if this friendly manual doesnot have what i want.

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

PostPosted: Tue Nov 09, 2010 3:34 am
by fornanthakumar
Hi Enrico-Sorichetti,

I failed in found the exact solution from the manual. So Please help on this.