z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


submit()

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-submit--(--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.')

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014