Endevor Archive Package Report abending with S002-A0

Document ID : KB000117743
Last Modified Date : 31/12/2018
Show Technical Document Details
Issue:
We are starting a Package file clean up project and are Archiving the Committed packages from the Packages file before deleting the packages.

We ran the ARCHIVE PACKAGE job and it completed with a RC=0.
When we attempt to run the Archive Package reports CONRPT 56 , 57 , 58 , the job abends with S002-A0 error:

 IEC036I 002-A0,IGC0005E,CA5AA50G,REPORTS,ARCINPT,1E55,EN9EV2,  041  
 CAENDV.ARCHIVED.PACKAGES                                              

 SYSTEM COMPLETION CODE=002  REASON CODE=000000A0                  
  TIME=15.24.51  SEQ=64957  CPU=0000  ASID=0030                    
  PSW AT TIME OF ERROR  075C1000   80E089EE  ILC 2  INTC 0D        
    ACTIVE LOAD MODULE           ADDRESS=00E06000  OFFSET=000029EE 
    NAME=IFG0199B                                                  
    DATA AT PSW  00E089E8 - 41003038  0A0DB20A  00509808           
    AR/GR 0: 008C4CD0/00E08BFC   1: 00000000/A4002000              
          2: 00000000/00108880   3: 00000000/00E08BC4              
          4: 00000000/008BD0A0   5: 00000000/008FFDC8              
          6: 00000000/008BD344   7: 00000000/FFFFFF29              
          8: 00000000/008BD364   9: 00000000/008BF9A0              
          A: 00000000/008C7CE8   B: 00000000/00E0867A              
          C: 00000000/83D29A20   D: 00000000/7F5A1CE8              
          E: 00000000/00E0867A   F: 00000000/000000A0              
  END OF SYMPTOM DUMP                                              
 +ABEND S002  OCCURRED IN PROGRAM BC1PBR10  
                      


What is wrong and how do we resolve this?
Environment:
z/OS 
All supported versions of CA Endevor
Cause:
 The Archive Package job was writing to a PDSE library and did not specify a member name:
//ARCHPKG  DD DSN=CAENDV.ARCHIVED.PACKAGES,DISP=SHR

The ARCINPT DD statement in the CONRPT job also did not specify a member name:
//ARCINPT DD DSN=CAENDV.ARCHIVED.PACKAGES,DISP=SHR 


As noted in the Generate Archived Package Reports  on the Endevor DocOps site when using a PDS or PDSE type library, only individual members can be used and not the entire data set:
 
Note: If a package is archived to a Partitioned Data Set (PDS), you can generate reports only from individual members of a data set and not the complete data set.
Resolution:
In the Archive Package job specify a member name like this:
//ARCHPKG  DD DISP=SHR,DSN=CAENDV.ARCHIVED.PACKAGES(packagename)
 
In the CONRPT job specify a member name on the ARCINPT DD statement like this:
//ARCINPT DD DISP=SHR,DSN=CAENDV.ARCHIVED.PACKAGES(packagename)