Use the SUBMIT() function to submit a job stream to the JES2 internal reader.
The SUBMIT() function has this syntax:
SUBMIT([stem.])
The SUBMIT() function takes this argument:
Root name of a stem variable containing the card images to be submitted, including the period. This should be enclosed in quotation marks.
The SUBMIT() function produces these return codes:
One of the following:
ARG 1 MISSING OR INVALID
STEM VARIABLE NOT FOUND
STEM HAS NO MEMBERS
SVC 99 allocation error in the following form:
RC: returncode ERROR: errorcode INFO: informationcode
FILE FAILED TO OPEN
Example
queue '//RBROWNEX JOB ,BR14,CLASS=A' queue '//STEP1 EXEC PGM=IEFBR14' submit() == '' /* Could also use a stem variable */
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |