If a user or system abend occurs, MFBSIJCL returns the decimal value of the user or system status code by default. If this value is greater than 199, MFBSIJCL returns a final return code 16. Otherwise, the return code corresponds to the status code. For example, a user abend with return code 12 returns code 12.
A user or system JCL abend can return a specified return code to the scheduler. In the MFBSI configuration file, the parameters SYS-ABEND-RC and USR-ABEND-RC can be set to force the OS return code to be returned to the scheduler. SYS-ABEND-RC and USR-ABEND-RC cannot be set on the command line for MFBSIJCL.
This table shows the specific OS codes returned from MFBSIJCL.
In the job log written by MFBSIJCL, either in SJobId.Log or using STDOUT, messages provide additional information. For example:
JCLSI0004S SCHEDJ107 Parms: -rES-JCL -jC:\ES_JCL\ iefbr14.jcl END sjobid=J17 X=Yes JCLSI0004S SCHEDJ107 Rc:203 Unknown parameter following " END ". JCLSI0001I SCHEDJ109 Parms: CASSUB.exe -rES-CICS -jC:\ES_JCL\ iefbr14.jcl Failed to connect to region ES-CICS return-code: 1-
The purpose of these messages is to allow additional scheduler error processing.
Message | Description |
---|---|
JCLSI0000I | Displays the version of MFBSIJCL |
JCLSI0001I |
The first line shows the CASSUB command used. the lines following show the output returned by CASSUB. |
JCLSI0002I | JCL job execution started. |
JCLSI0003I | JCL job execution completed. |
JCLSI0004S | MFBSIJCL detects errors in parameters/configuration file. |
JCLSI0005I | Job execution summary. |