IEBCOPY error when running the MSMDEPLY job.

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

Description:

When running the MSMDEPLY job to complete an upgrade to CA Mainframe Software Manager, the IEBCOPY can fail with a return code of 8.

Here are a couple of reasons that can arise.

  1. Lack of directory blocks -

    Here is what may be found in the SYSPRINT:
    IEB1135I *PATHNAM FMID HDZ1C10  SERVICE LEVEL UA61305  DATED 20110713 DFSMS 01.12.00 z/OS    01.12.00 HBB7770  CPU 2817
    IEB1035I VLCVI014  *OMVSEX  09:48:18 MON 16 JUL 2012 PARM=''
     
    COMP1 C O=SYSUT2,I=((SYSUT2,R))
     
    IEB1018I COMPRESSING  PDS  OUTDD=SYSUT2   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD.B03
    IEB140I SYSUT2   REFERENCES A NULL INPUT DATA SET
    IEB144I THERE ARE 231 UNUSED TRACKS IN OUTPUT DATA SET REFERENCED BY SYSUT2
     
    COPY1 C O=SYSUT2,I=((SYSUT1,R))
     
    IEB1013I COPYING FROM PDS   INDD=SYSUT1   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD
    IEB1014I           TO PDS  OUTDD=SYSUT2   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD.B03
    IEB148E NO SPACE IN OUTPUT DIRECTORY FOR DIRECTORY ENTRIES FROM INPUT DATA SET SYSUT1
    IEB151I JOB HAS TERMINATED WITH ERROR(S)
    IEB147I END OF JOB - 8 WAS HIGHEST SEVERITY CODE

  • Missing APF authorization -

    Here is what may be found in the SYSPRINT:
    IEB1135I *PATHNAM FMID HDZ1C10  SERVICE LEVEL UA61305  DATED 20110713 DFSMS 01.12.00 z/OS    01.12.00 HBB7770  CPU 2817
    IEB1035I VLCVI017  *OMVSEX  09:50:20 MON 16 JUL 2012 PARM=''
    IEB1099I *** IEBCOPY IS NOT APF AUTHORIZED *** 
     
    COMP1 C O=SYSUT2,I=((SYSUT2,R))
     
    IEB1018I COMPRESSING  PDS  OUTDD=SYSUT2   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD.B03
    IEB140I SYSUT2   REFERENCES A NULL INPUT DATA SET
    IEB144I THERE ARE 231 UNUSED TRACKS IN OUTPUT DATA SET REFERENCED BY SYSUT2
     
    COPY1 C O=SYSUT2,I=((SYSUT1,R))
     
    IEB1013I COPYING FROM PDS   INDD=SYSUT1   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD
    IEB1014I           TO PDS  OUTDD=SYSUT2   VOL=TSO04G DSN=MF20.MSM.QA.MSM50.RT.CAAXLOAD.B03
    IEB1099E *** IEBCOPY IS NOT APF AUTHORIZED *** 
    IEB151I JOB HAS TERMINATED WITH ERROR(S)
    IEB147I END OF JOB - 8 WAS HIGHEST SEVERITY CODE

Solution:

For the first situation, one of the files being used in the IEBCOPY process was not allocated with sufficient directory blocks. This is causing the copy to fail. To correct the problem, manually delete and define the file with the smaller number of directory blocks to match the file with the larger number of directory blocks. Once this is done, the MSMDEPLY job can be rerun and the problem will not re-occur.

For the second situation, verify that the extended attribute flag for the .../CEGPHFS/MSMPDSCP file is set. If not, set the attribute and rerun the MSMDEPLY job.

Do this by locating the .../CEGPHFS/MSMPDSCP file and issue USS command to list attributes


ls -E MSMPDSCP
-rwxrwxr-x  --s-  MSMPDSCP   <-- shows apf attribute not set
If +a is missing, then issue USS command to set attribute:
 
extattr +a MSMPDSCP
ls -E MSMPDSCP
-rwxrwxr-x  a-s-  MSMPDSCP  <-- shows apf attribute set