CA-GSS Statements and Commands › GSS Extended Functions › IO Functions › Number, String, and Variable Functions › System Information Functions › SUBMIT()
SUBMIT()
This function submits a job stream to the JES2 internal reader.
Syntax
SUBMIT([stem.])
Parameters
- stem.
-
The root name of a stem variable containing the card images to be submitted, including the period. Enclose this argument in quotation marks.
Usage Notes
- If you omit the stem argument, the contents of the current stack are sent to the internal reader.
- The stem variables cannot be global; that is, they cannot begin with an ampersand (&). For information about global variables, see the administrating topics.
- The card images are processed in the order the stem variables were created.
- To reuse stem variables (with fewer lines), use the REXX DROP command for the stem. This deletes the entire stem group and lets you create a set with fewer variables.
Return Codes
- 101
-
One of the following:
ARG 1 MISSING OR INVALID
STEM VARIABLE NOT FOUND
STEM HAS NO MEMBERS
- 121
-
SVC 99 allocation error in the following form:
RC: returncode ERROR: errorcode INFO: informationcode
- 122
-
FILE FAILED TO OPEN
Example
queue '//RBROWNEX JOB ,BR14,CLASS=A'
queue '//STEP1 EXEC PGM=IEFBR14'
submit() == '' /* Could also use a stem variable */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|