4

I have few control-M job running on server. I can perform basic operations like to start/stop or pause any JOB from control M Interface.But there is not a development environment available for Control-M. I have another java application from where I want to start/stop/pause and other basic stuffs of Control-M. Till now I am totally blank.I don't know which JAVA API, I should use. Do i need to have development environement of Control-M also.

Could some one please help me on this regard?

techprat
  • 375
  • 7
  • 23
The PowerHouse
  • 560
  • 14
  • 29

2 Answers2

3

You should use Web service functionality of Control-M.The details Example is given with API. Run the bat file for configuration.Provide your parameters.Run ClientGui.java. if you have provided your correct parameters than you should be able to connect with control-M.Please make a comment if you are facing any issue..

Temp
  • 81
  • 3
  • Yes the example indeed provided with API.I am also able to run the program by the step by step guide given in the book,but unfortunately it is still not able to run. – The PowerHouse Jul 30 '16 at 18:47
  • I mean i am able to compile the program and starts its interface but it is giving error.under major 500 minor 5. – The PowerHouse Aug 02 '16 at 11:10
  • Though this is not a valid answer but this answer was the most appropriate and related to context .So i am offering you my bounty Instead of wasting it..If you have some Time please provide the correct answer so that i could mark it as Answer – The PowerHouse Aug 03 '16 at 06:15
1

Look at Control-M for Web Services, Java and Messaging. They also just came out with a Automation API but you have to have Version 9 Fix Pack 2

  • I have the API emapi provided by BMC.Since jobs are already running and I don't have the permission to create the JOB.though i have credentials to start restart or kill the job. can i Use the API or any other method like webservice to connect with Java.as i don't know published jobs are providing the webservice or Not. to use API what are the prerequisite from Control M side.. – The PowerHouse Jun 29 '16 at 17:30