It is currently 23 Oct 2017 6:01


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 16 May 2016 5:03 
Offline
Nouveau
Nouveau
User avatar

Joined: 12 Dec 2011 12:00
Posts: 28
Hi,

I have a requirement where in i need to list the IN/OUT conditions of all the jobs in a PARENT TABLE.

Is there any sql query to run and fetch the IN/OUT conditions from the CONDITIONS TABLE.

OR, any CTM Utility which i can use to get the result.

Thanks,


Top
   
PostPosted: 23 May 2016 8:00 
If you need to list the conditions of an specific folder you can use the following query (ctm server database):

SELECT jobname, condname,
rowtype,
CASE rowtype WHEN 'I' THEN 'IN_COND' WHEN 'O' THEN 'OUT_COND' WHEN 'D' THEN 'DO_CONDITION' ELSE rowtype END AS rowtype,
dateref, op
FROM cms_jobdef as jd, cms_con_j as cj
WHERE jd.jobno=cj.jobno
and schedtab='FOLDER_NAME'
order by 1,2;

regards.
Martin.


Top
   
PostPosted: 01 Jun 2016 3:25 
Offline
Nouveau
Nouveau
User avatar

Joined: 28 Apr 2015 3:46
Posts: 20
If you are using Mainframe ControlM, see my free utility in "scripts"
This also compares "in" to "out" conditions, looking for mistakes.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


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