submit command
Use the submit command to submit a JCL job to a z/OS® system.
Syntax
submit [ save ] [ "systemName" ]
sub [ save ] [ "systemName" ]Parameters
- save
- Use the parameter save to indicate that the file is to be saved, if necessary, before it is submitted. If the file changes but save is not used, the current contents of the editor buffer are submitted.
- "systemName"
- Use the parameter systemName to indicate the z/OS system on which the job is
to be submitted. It must be the name of a connected z/OS system, as defined in the Remote
Systems view.
If the file is on a z/OS system, systemName can be omitted. If omitted, systemName defaults to the system where the file is.
If the file is local, systemName can be omitted if a single z/OS system is connected.
The enclosing quotation marks can be omitted, unless systemName is "save".
Status
The status parameter is set to one of the following values to indicate completion information:null- Indicates that the submit command successfully submitted the job.
save failed- Indicates that the submit command attempted to save the file, but the save failed. The file was not submitted.
submit.notConnected- Indicates that systemName specifies a system that is not connected. The file was not submitted.
submit.failed- Indicates that the submit command was not able to submit the job.
Examples
submit
submit save "stlmvs1"
sub "stlmvs1"
sub stlmvs1