Search found 27 matches

by sunuriyal
09 Oct 2017 4:28
Forum: Job Definition
Topic: Schedule job in Hold state
Replies: 2
Views: 23519

Re: Schedule job in Hold state

I don't think you can find that option.
Why don't you schedule a job with "user confirmation" option checked in it ?
When job come to plan it will not run until you confirm it.
by sunuriyal
19 May 2014 6:59
Forum: Job Definition
Topic: Status of jobs within 10 days or so
Replies: 3
Views: 3519

Re: Status of jobs within 10 days or so

May some other options too.. but
You can use archive view point for that. But remember it will only show you the jobs of last 15 days if your control-M is set to retain the archive view point for more than 15 days or so ..
by sunuriyal
19 May 2014 6:55
Forum: Exploitation / Operation
Topic: Deletion of a plan by shell script
Replies: 6
Views: 8258

Re: Deletion of a plan by shell script

HI,

What do you mean by all the jobs?
do you mean all entire AJF (Active Job file) regardless of their status ?

IF yes, you can use ctmpsm -AJFUPDATE command.

please let me know if you need the entire script for that.
by sunuriyal
01 May 2014 5:13
Forum: Exploitation / Operation
Topic: Suspend All New Day Jobs for 24 Hours
Replies: 6
Views: 10770

Re: Suspend All New Day Jobs for 24 Hours

Not sure about v. 6.4

we can do the same using workload management by keeping the Running jobs policy to 0
by sunuriyal
24 Apr 2014 12:33
Forum: SQL Scripts
Topic: Script to report jobs that are executing for more than 12 hr
Replies: 3
Views: 6860

Thats cool.

I don't have db access. I did that using "ctmpsm" utility.

ctmpsm -listall TIME |grep "executing"

It worked :)
by sunuriyal
18 Mar 2014 5:38
Forum: Job Definition
Topic: Extract Command line
Replies: 4
Views: 4486

Re: Extract Command line

Hi Ani

There may be multiple ways, but I do that mailing the sysout of the job.
The first line in the sysout is the command line of the job.
by sunuriyal
17 Mar 2014 12:59
Forum: Job Definition
Topic: Email alert on third failure
Replies: 8
Views: 7616

I think only the option with version 7 is. You set the alerts for all the failures and disregard first two :)
by sunuriyal
11 Mar 2014 3:41
Forum: Control-M Agents
Topic: All the jobs ran in a second in one of the agent
Replies: 0
Views: 16393

All the jobs ran in a second in one of the agent

Hi All, In our datacenter one of the agent has around 120 which is database server and has 2 databases running on it let say db1 and db2. Jobs running on db1 failed after a second (no processing done)but reported back success (All the jobs ended green) while db2 jobs on the same server ran as expect...
by sunuriyal
01 Mar 2014 5:37
Forum: Control-M Enterprise Manager
Topic: Created new job but loaded in Control-M GUi
Replies: 2
Views: 4804

Re: Created new job but loaded in Control-M GUi

What do you mean by loaded in GUI ? You're not able to upload the job.
Also did you write the job before you are trying to upload ?
by sunuriyal
27 Feb 2014 7:09
Forum: SQL Scripts
Topic: query to find failed jobs in active network ?
Replies: 7
Views: 10426

Store an ouput of above commands I told in a file i.e JobsNotOk.
then

cat JobsNotOk |grep "mention odat you want"

this will output only the jobs with that specific odat you mention above.
by sunuriyal
27 Feb 2014 7:05
Forum: Scripts
Topic: How to get the orderno?
Replies: 8
Views: 15573

Re: How to get the orderno?

Use control-M Server utility ctmpsm -LISTALL
the first column of information is of orderid. you can further filter your jobs with grep.
by sunuriyal
25 Feb 2014 7:08
Forum: SQL Scripts
Topic: query to find failed jobs in active network ?
Replies: 7
Views: 10426

you can do this by step tab of Jobs-

On - NOTOK
Do - sysout handling ..
by sunuriyal
24 Feb 2014 5:09
Forum: Exploitation / Operation
Topic: Uninstallation of Control-M server.
Replies: 2
Views: 5469

Re: Uninstallation of Control-M server.

Can someone help on this please ?
by sunuriyal
24 Feb 2014 5:06
Forum: SQL Scripts
Topic: query to find failed jobs in active network ?
Replies: 7
Views: 10426

you can use-

ctmpsm -LISTALL |grep "NOTOK" |grep "JobName"

This will output you with current ODAT as you want.
Hope this helps ..
by sunuriyal
21 Feb 2014 5:50
Forum: SQL Scripts
Topic: query to find failed jobs in active network ?
Replies: 7
Views: 10426

Re: query to find failed jobs in active network ?

you can do it by ctmpsm utility. Please let me know if you need more info.