View previous topic :: View next topic
|
Author |
Message |
pingte
Active User
Joined: 03 Dec 2005 Posts: 120 Location: india
|
|
|
|
Hi!
i need to know whether a particular batch job (e.g AC00001) is submitted or not by using a a rexx script that runs under a different batch job.
Can any one help? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And if the job has been submitted and purged already ?
Did you search for SDSF in batch ? |
|
Back to top |
|
|
pingte
Active User
Joined: 03 Dec 2005 Posts: 120 Location: india
|
|
|
|
Expat,
In my system, the scheduler submitted jobs are not purged b4 two business day. So I assume the jobs are not purged.
Also i am trying to minimize manual intervention in job checking by running a Rexx script at pre defined interval.
Can you help me now? |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
search for something like this:
Code: |
address tso "status" AC00001 |
you must 'trap' it, search for OUTTRAP or, as expat said, search for how to invoke SDSF in batch or even in Rexx.
hth. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Doesn't the job scheduler monitor submissions and abends automatically ?
As I said earlier - SDSF in batch. There are numerous examples on the forum that have been posted recently so should not be too difficult to find. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Does your system use a scheduling package (most systems do these days)?
I'd suggest you talk with the schedulers and create the needed info from data already recorded in the scheduling system. |
|
Back to top |
|
|
pingte
Active User
Joined: 03 Dec 2005 Posts: 120 Location: india
|
|
|
|
my system in Z/VM... the jobs are visible in STAT.. instead of SDSF
is there a to invoke STAT from batch like SDSF?
can inputs will be of great help! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I can only suggest the STAT manual to see if batch or call services are available as they are in SDSF.
Unfortunately I haven't played with VM for over 20 years |
|
Back to top |
|
|
|