submit()

Read syntax diagramSkip visual syntax diagramsubmit(stem.)

Function

Submits a job to the primary subsystem (JES), returning the job ID of the submitted job.

Parameters

stem.
The stem compound variable contains the number of lines in stem.0 , and each variable from stem.1, stem.2, ... contains a line for the job that is being submitted.

Example

This example reads the file into the stem, sets the number of lines, and submits the job:
do i=1 by 1 while lines(fn)>0 
      fn.i=linein(fn)
   end
   fn.0=i-1  
   say submit('fn.')