Previous Topic: STACKINF()Next Topic: SWAPSTAK()


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

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 */