[Library] [Contents] [Revisions] [Prev Topic] [Next Topic] [Search] [Search Results] [Prev Topic Match] [Next Topic Match] [Notes] [List Notes] [Print] [Download] [Help]

3.2.1.2.1 Submitting One Job



To submit as a batch job one member of a data set, specify the name of the data set followed by the name of the member enclosed in parentheses.

    ___ Example ____________________________________________________________  
   | To submit the job in the member JOB1 in data set JCL.CNTL, enter:      | 
   |                                                                        | 
   |   SUBMIT jcl(job1)                                                     | 
   |                                                                        | 
   |________________________________________________________________________| 


   To submit a number of jobs at once, specify the list of data set names in 
   parentheses, with each data set name separated from the others by a comma. 


    ___ Example ____________________________________________________________  
   | To submit the jobs in data sets JOB5.CNTL, USERID.SIX.JOB, and member  | 
   | JCL.CNTL(JOB1), enter:                                                 | 
   |                                                                        | 
   |   SUBMIT (job5,'userid.six.job',jcl(job1))                             | 
   |                                                                        | 
   |________________________________________________________________________| 


   You can specify the data sets a job uses for input when you issue the 
   SUBMIT command. To identify the input data set, specify the input data 
   set's name following the data set name that contains the job. For this 
   form of the command to be valid, the input data set must have a 
   descriptive qualifier of DATA. 


    ___ Example ____________________________________________________________  
   | To run the job in data set JOB5.CNTL, and to use the input data in     | 
   | data set MYDATA.DATA, enter:                                           | 
   |                                                                        | 
   |   SUBMIT (job5,mydata)                                                 | 
   |                                                                        | 
   |________________________________________________________________________| 




[Prev Topic] [Next Topic] © Copyright IBM Corp. 1988, 2000

IBM BookManager® BookServer Copyright 1989, 1999 IBM Corporation. All rights reserved.


Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]

Glossary - IBM Dictionary of Computing

How to: [ Order publications | Contact OS/390 ]