PDTDSCPY JOB GETS RC=8

Document ID : KB000008591
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

PDTDSCPY job failed with return code of 8 without any error message. what's the problem?

Resolution:

There could be many reasons for this kind of behavior but for this case the failing job was missing the CDBALOAD in the job steplib as seen below:

FAILED STEPLIB 

//STEPLIB DD DISP=SHR,DSN=DSN.D2J0.DSNLOAD 

GOOD STEPLIB 

//STEPLIB DD DISP=SHR,DSN=DSN.DPG4.DSNLOAD 

// DD DISP=SHR,DSN=DSN.CATOOLS.CDBALOAD 

//*