Page 1 of 1

Run a Job via command line

Posted: 21 Aug 2008 7:08
by gslima
HI,

I would like to know if there is anyway to run a Job in Control-M via command line, because I'm making a script and I would like to run a job from it.

Thank you since now...

Posted: 21 Aug 2008 9:15
by Walty
Hi,
you can invoke the <ctmcreate> utility in your script.

The ctmcreate utility is an API that allows a specific purpose job to be inserted directly into the Active Jobs file.
The job does not have to be defined in the CONTROL-M/Server database.

(see CONTROL-M/Server Administrator Guide)

Regards
Walty

Posted: 09 Sep 2008 4:34
by mauriziog
there is anyway to run a Job in Control-M via command line
Also you can use:
1) ctmorder utility for order or force a job, many jobs, a table, many tables.

2) If you have put some table in a personalized user daily:
ctmudly utility

3) If you have the jobs in the AJF but they are waiting for a condition you can add that condition with a command using:
ctmcontb utility

And also more ...

Posted: 13 Nov 2008 2:57
by mauriziog
script you are writing to invoke the ctmorder.is that Batch script or Shell script or Sql script
ctmorder is an utility of controlm so you can run it as a command from a agent or server machine command line.

See on the documentation the syntax detail.

Is there a java function working like ctmorder ?

Posted: 29 Oct 2009 10:25
by olika
Is there a way to schedule a job in java using a syntaxe similar to ctmorder ?
Thanks for your answers