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:\users\username\Documents\Micro Focus\Enterprise Developer\WORKAREA\jcldemo\esjcl\esjcl.jcl -stcp:192.168.1.102:2811
cassub -j/var/mfcobol/es/jcldemo/esjcl/esjcl.jcl -stcp:192.168.1.102:2811
If submitting to an ssl-enabled listener, -stcpssl can be specified in place of -stcp.
This submits the JCL in the file %USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA /var/mfcobol/es/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.