Subparameter definition

MAXRC
The job completion code is set to the highest return code of any step in the job, or if the completion of the job fails because of an ABEND, the job completion code is set to the last ABEND code. This is the default.
LASTRC
The job completion code is set to the return code or ABEND code of the last step that is executed in the job.
(STEP,stepname[.procstepname])
The job completion code is set to the return code or ABEND code of the step that is indicated by the stepname.[.procstepname] parameter. If there are duplicate stepnames, than the last matching step is used. If this step does not exist, a JCL error is generated. If this step does not execute, the processing is the same as if MAXRC is specified. .