start cassub -jpath\jcl-file
where path and jcl-file specify the JCL file to run. -j is the keyword identifying this parameter. There must be no space after the -j. For example:
cassub -jc:\jclbatch\jclbatch.jcl
You can specify the –j parameter more than once, in order to submit several JCL files in the same command.
If you are submitting the job to an enterprise server that is local to your machine, you can use the –r parameter to specify the enterprise server to run the job. If you omit it, ESDEMO is assumed.
If you want to submit the job to a remote enterprise server, you need to specify the –s parameter:
The job is run by the most recently started available initiator that can handle the class specified on the JOB card.