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

How to check the maxcc of a job in CLIST?


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

New User


Joined: 01 Jan 2008
Posts: 14
Location: IBM-India

PostPosted: Mon Sep 22, 2008 3:14 pm
Reply with quote

Hi,

I have developed 2 different CLIST programs.

-> the first program will check the status of jobs and it will display the status to user whether it is running or not

->the second jcl will trigger the job's which are not running.

Note: The user has to make a note of the jobs which are not running while running the first CLIST program and the job name needs to be given as an input while running the second CLIST program inorder to trigger the job which are not running

My doubt is can we able to trigger a job based on the status returned for a job?

Can we able to check the condition of job which has been executed recently?

Can somebody help me on this to automate?

Thanks in Advance,
Yuvaraj C
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Sep 22, 2008 3:26 pm
Reply with quote

Well, if you have a list of jobs and apparently you can tell which ones are running it should be fairly easy to determine from the list the jobs that are not running.
Back to top
View user's profile Send private message
yuvaraj C

New User


Joined: 01 Jan 2008
Posts: 14
Location: IBM-India

PostPosted: Mon Sep 22, 2008 3:44 pm
Reply with quote

Hi,

As I said there are 2 different CLISTs

When I execute the first CLIST program it will give the status of a list of jobs. And statuses could be any one of the following 'i.e. 'executing','not found', and 'output queue'.

Now,I would like to automate that if job is having the status as 'Not found or output queue' then it needs to be triggered automatically from a PDS library

Can you please help me to automate it?

Thanks,
Yuvaraj C
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 22, 2008 4:09 pm
Reply with quote

You should be aware that in house written scheduling applications are...
a NO-NO

the not found or in the output queue conditions are usually bad triggers
they will not protect against unwanted reruns

what about using TIVOLI
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Sep 22, 2008 9:44 pm
Reply with quote

If you have one exec that finds the information and another exec that needs the information... find the section of code within the first and copy to the second exec.
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 CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
Search our Forums:

Back to Top