CTMDEFINE utility

All questions about Control-M jobs definitions
Post Reply
User avatar
amirths
Nouveau
Nouveau
Posts: 5
Joined: 02 Mar 2011 12:00

CTMDEFINE utility

Post by amirths » 31 Mar 2011 6:52

Hai,

I have created a Control-M job using the CTMDEFINE utility.

I am not able to view the job in the EM. I have tried the creating a new TABLE in the table manager and downloaded the same. But that does not work.

Please help me on this.

Regards,
Amirths

User avatar
nicolas_mulot
Nouveau
Nouveau
Posts: 149
Joined: 07 Jan 2010 12:00

Post by nicolas_mulot » 06 Apr 2011 4:59

amirths,

It should work.

ctmdefine must have created your table in the ctm server base.
First check that your table has actually been created using ctmpsm --> 71
You can also check thet using an sql request (on server side) like:
select * from CMS_SCHEDT where SCHEDTAB='your_table_name'

If it does not appear, check your ctmdefine syntax/result.

If it appears, creating a new table on the desktop and downloading it is actually the right method.
Did you create the new EM table on the right datacenter name?

Cheers

User avatar
amirths
Nouveau
Nouveau
Posts: 5
Joined: 02 Mar 2011 12:00

Post by amirths » 12 Apr 2011 12:14

Hai Nicolas,

Thanks for the info.

That worked.

Now I am getting the following error while using the CTMDEFINE utility

"-GROUP and -TABLE should be the same for the job that belongs to the group entity."

Also I need to have the environment variable embedded in the Command line like

"$JobsFolder/job1.ksh"

Currently it is substituting the environment variable when use the CTMDEFINE utility


Amirths

Post Reply