| Note: 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.
Optionally parameters may be passed to the program or the LANSA process/function.
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. |
7.120.2 SUBMIT Comments / Warnings
Optional SUBMIT ---------- PGM ------------- *NONE ------------------------> >-- PROCESS --------- *NONE ------------------------> >-- FUNCTION ------- *FIRST --------------------------> >-- PARM ------------- list of parameters --------------> >-- EXCHANGE -------- field name ---------------------> >-- JOB -------------- *PGMPRO ------------------------> >--- JOBD -------------- QBATCH . *LIBL -----------------> >--- JOBQ ------------- *JOBD ---------------------------> >--- OUTQ ------------ *JOBD ----------------------------| |