It is currently 26 May 2017 7:31


Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 25 May 2012 4:51 
Offline
Nouveau
Nouveau
User avatar

Joined: 25 May 2012 8:00
Posts: 2
Hi,

I am looking for a way to extract the status of a certain set of jobs from Active environment of Control-M scheduler. Either a z/OS batch JCL or a REXX code. Can somebody help me out to get this done?

Thanks,
Sajeesh.


Top
   
 Post subject:
PostPosted: 25 May 2012 6:22 
Offline
Nouveau
Nouveau
User avatar

Joined: 06 Feb 2007 9:00
Posts: 32
Location: VALENCIENNES
Hi

you could use the command ctmpsm or sql command

ie
ctmpsm -listall|grep "jobname"

sql
select STATE,STATUS FROM CMR_AJF where JOBNAME = 'jobname' and ODATE= '2012XXXX';

STATUS=Y ==> OK
STATUS=N ==> NOTOK

STATE=4 ==>RUNNING
STATE=1 ==> WAIT CONFIRM

........


Top
   
 Post subject:
PostPosted: 25 May 2012 8:22 
Offline
Nouveau
Nouveau
User avatar

Joined: 25 May 2012 8:00
Posts: 2
Hi philhaut,

Thanks for your reply.

My environment is z/OS and I am looking for a batch JCL or REXX code to get the details.


Cheers,
Sajeesh.


Top
   
 Post subject:
PostPosted: 16 Feb 2013 4:53 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Sep 2010 8:00
Posts: 73
What are all the possible state codes and thier meaning?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+10:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved