Run a Job via command line

Several scripts
Post Reply
User avatar
gslima
Nouveau
Nouveau
Posts: 1
Joined: 21 Aug 2008 12:00

Run a Job via command line

Post by gslima » 21 Aug 2008 7:08

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...
Guga

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Post by Walty » 21 Aug 2008 9:15

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

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 09 Sep 2008 4:34

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 ...

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 13 Nov 2008 2:57

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.

User avatar
olika
Nouveau
Nouveau
Posts: 1
Joined: 29 Oct 2009 12:00

Is there a java function working like ctmorder ?

Post by olika » 29 Oct 2009 10:25

Is there a way to schedule a job in java using a syntaxe similar to ctmorder ?
Thanks for your answers

Post Reply