Previous Topic: STACKINF()

Next Topic: SWAPSTAK()

SUBMIT()

Use the SUBMIT() function to submit a job stream to the JES2 internal reader.

Syntax

The SUBMIT() function has this syntax:

SUBMIT([stem.])

Arguments

The SUBMIT() function takes this argument:

stem.

Root name of a stem variable containing the card images to be submitted, including the period. This should be enclosed in quotation marks.

Usage Notes

Return Codes

The SUBMIT() function produces these 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 */