Previous Topic Next topic Print topic


User, System, and RTS ABEND Handling

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, JCL, or RTS abend can return a specified return code to the scheduler. In the MFBSI configuration file, the parameters SYS-ABEND-RC, USR-ABEND-RC, and RTS-ABEND-RC can be set to force the OS return code to be returned to the scheduler. SYS-ABEND-RC USR-ABEND-RC, and RTS-ABEND-RC cannot be set on the command line for MFBSIJCL.

This table shows some of the specific OS codes returned from MFBSIJCL.

Return Code Description
200-250 Indicates an error specific to MFBSIJCL, such as MFBSI_DIR not set, unknown or missing parameters, or error during job submission (CASSUB/CASOUT).

See the topic on specific return codes issued by MFBSIJCL for descriptions of each return code.

208 JES/JCL error detected.
209 Job submission failed (See JobLog output).
211 Job ended, no numeric RC returned.
0-16 Error code returned by Enterprise Server/MSS JCL (job execution).
0 Execution successful.
16 Unsuccessful job execution.

To get the full list of MFBSI-specific return codes, execute mfbsijcl /rc from an Enterprise Developer command prompt .

In the job log written by MFBSIJCL, either in SJobId.Log, JOB####.Log, or via STDOUT, JCLSI messages provide additional information. For example:

JCLSI0013E JOB????? => Rc:213 Configuration parameter unknown in MFBSI.cfg
JCLSI0014E JOB????? Parameter: ES_Server=-rES
JCLSI0077I JOB Ended with OS RC=0213. 13:12:59
JCLSI0028E JOB????? => Rc:243 In MFBSI_DIR,"regionName.Started" not found.
JCLSI0077I JOB Ended with OS RC=0243. 14:09:33
JCLSI0050I JOB01039 IEFBR14 JOB Concluded. (SYS=00002054 Reason=00000000 )[Job abended] 14:12:38

where 2054 (decimal) = x'806' (Program not found).

The purpose of these messages is to allow additional scheduler error processing.

Message Description
JCLSI0001I Displays the MFBSIJCL banner and version.
JCLSI0003I

The first line shows the CASSUB command used. The lines following show the output returned by CASSUB.

JCLSI0048I JCL job execution started.
JCLSI0050l JCL job execution concluded.
JCLSI0013S

JCLSI0014E

MFBSIJCL detects errors in parameters/configuration file.
JCLSI0077I Job execution summary.
Previous Topic Next topic Print topic