How can I correct the -805 DBRM or Package not found in my PRFBATCH job?

Document ID : KB000074939
Last Modified Date : 05/04/2018
Show Technical Document Details
Introduction:
This document states how a -805 "DBRM or Package not found" message in a PRFBATCH job can be corrected.
Question:
How can I correct the -805 DBRM or Package not found in my PRFBATCH job?
Environment:
z/OS 1.11 and above.
Answer:
1) If your Batch JCL is generated from the PRF "RUN BATCH JOB" display, the correct Plan name should be written to the Batch JCL that you're executing. 

2) If your running JCL that was created from a previous release from your personal library (which is often the case):

    A) You should probably create new JCL from the "RUN BATCH JOB" display

    B) Or, you could replace the Plan name (PLAN=) from the previous release, to the plan name from the new release in your Batch JCL. If you do this, you should ensure that you replace the old Load library (CDBALOAD) from the previous release with the new Load Library in your STEPLIB & PTILIB DD statements.