Before you use cassub to submit a JCL job to a remote machine, you must find out the address of the Web Services listener associated with the service MF JES. To do this:
You then specify this address using the -s parameter of cassub. For example:
cassub -jc:\program files\micro focus\Studio Enterprise Edition X.X\base\workarea\jcldemo\esjcl\esjcl.jcl -stcp:192.168.1.102:2811
This submits the JCL in the file %USERPROFILE%\Documents\Micro Focus\Net Express x.x\WORKAREA \jcldemo\esjcl\esjcl.jcl on your machine to an enterprise server running on a remote machine. The enterprise server must already have been started.
You can verify that you have successfully submitted the job by using the ESMAC Log feature: click Log in the Diagnostics group of the menu, and then click Display. You will be able to see messages relating to the job submission.
You can view the remote machine's spool queues and catalog entries in the usual way.