Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.120 SUBMIT

Note
titleNote: Usage options

The SUBMIT command is used to submit a call to a program to batch, to a process/function to batch or to start a Form if executing on Windows.

...

If the submitted call is to a process/function or a Form it is also possible to exchange information with it using the exchange list. Refer to the EXCHANGE command for more details of the exchange list and how it is used.

Portability Considerations

Refer to parameters: JOBD , JOBQ , PARM , PGM ,and OUTQ and Specifying File Names in I/O Commands.

Also SeeSee                                                                                                                                    

7.120.1 SUBMIT Parameters

7.120.2 SUBMIT Comments / Warnings

7.120.3 SUBMIT Examples


Panel
bgColor

   

#ffffcc

                                                                                                Optional

  SUBMIT ---

No Format
                                                     Optional   SUBMIT

-------

PGM

-------------

*NONE

------------------------>

                                pgm name . *LIBL                                 pgm name . library name              >-- PROCESS


                                                            pgm name . *LIBL
                                                            pgm name . library name

                       >-- PROCESS ---------

*NONE

------------------------>

                                process or Form name              >-- FUNCTION


                                                            process or Form name

                      >-- FUNCTION -------

*FIRST

-------------------------->

                                function name or *FORM if executing a Form              >-- PARM


                                                           function name or *FORM if executing a Form

                      >-- PARM -------------

list

of

parameters

-------------->

                             | expandable group expression |                               


                                                      | expandable group expression |
                                                       ---------

20

maximum

--------

             >

                      >--

EXCHANGE

--------

field

name

--------------------->

                           


                                                      | expandable

group

expression

|                            |                            |                            

|
                                                      |                                                |
                                                        ----------

100

max

-----------

             >

                      >--

JOB

--------------

*PGMPRO

------------------------>

                                job name             >


                                                            job name

                    >---

JOBD

--------------

QBATCH

.

*LIBL

----------------->

                                *USRPRF                                 job description . *LIBL                                 job description . library name             >--- JOBQ


                                                           *USRPRF
                                                            job description . *LIBL
                                                           job description . library name

                    >--- JOBQ -------------

*JOBD

--------------------------->

                                job queue . *LIBL                                 job queue . library name             >--- OUTQ


                                                          job queue . *LIBL
                                                         job queue . library name

                    >--- OUTQ ------------

*JOBD

----------------------------|

                                *CURRENT                                 *USRPRF                                 *DEV                                 output queue . *LIBL                                 output queue . library name


                                                         *CURRENT
                                                         *USRPRF
                                                         *DEV
                                                         output queue . *LIBL
                                                         output queue . library name