Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Identify batch job submission

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Identify batch job submission
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: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 03, 2008 11:31 am    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 03, 2008 12:18 pm    Post subject:
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

Site Director


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

PostPosted: Wed Sep 03, 2008 12:19 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 03, 2008 3:09 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us