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
 

 

How to check the maxcc of a job in CLIST?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to check the maxcc of a job in CLIST?
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: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 22, 2008 3:26 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Mon Sep 22, 2008 4:09 pm    Post subject: Reply to: How to check the maxcc of a job in CLIST?
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

Senior Member


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

PostPosted: Mon Sep 22, 2008 9:44 pm    Post subject: Reply to: How to check the maxcc of a job in CLIST?
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    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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


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