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

Identify batch job submission


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Wed Sep 03, 2008 11:21 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Sep 03, 2008 11:31 am
Reply with quote

And if the job has been submitted and purged already ?

Did you search for SDSF in batch ?
Back to top
View user's profile Send private message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Wed Sep 03, 2008 12:12 pm
Reply with quote

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
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Wed Sep 03, 2008 12:18 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Sep 03, 2008 12:18 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Sep 03, 2008 12:19 pm
Reply with quote

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
View user's profile Send private message
pingte

Active User


Joined: 03 Dec 2005
Posts: 120
Location: india

PostPosted: Wed Sep 03, 2008 12:25 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Sep 03, 2008 3:09 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts Identify Program Insert DB2 7
Search our Forums:

Back to Top