Hi Murray,
Thanks for the reply but I'm sorry; I don't think I explained my criteria correctly. I was actually referring to the Jade Job Control Manager application. Basically, I wish to create a job for the Job Control Manager to run, which I'm hoping, will execute a command via the command prompt on the server. My initial assumption was that I would have to use the Job Control Manager's External Routine option, but I'm not entirely sure how this would be obtained.
Thank you for your time and consideration,
Omash
Hi Omash,
Let me hazard a guess that you have a JET'ed LINC system and are using the Job Control Manager application for scheduling batch jobs? (If so you will probably also have applications such as JCAMgr, JCIMgr, JCMScheduler). That's what we have and the External Routine sounds familiar. From what I can recall, the External Routine does just what you require, i.e. it launches a worker process that in turn runs a Windows command shell with the command line that is passed to it. There is also "Jade Routine" which will run a Jade method in the application (JET'ted LINC) system. I can't remember more detail off the top of my head - I can get more details for you if you can confirm that my guess is correct.
Just beware that if it is the "JCF" system that I think it is, every installation has probably been customised and modified in different ways.
Anyway, to get you started, read the Jade manual (EncycloSys2.pdf) on
Node::createExternalProcess(). This will be of help to you as this is what is used to run a Windows command. If you follow the references to that method in your system you may find the core of the code you are looking for.