S213-04 abends during Endevor package actions or shipment after converting a listing library to an ELIB

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

Problem:

An S213-04 abend can occur when doing various package actions after having converted a listing library from PDS to ELIB.
The affected package actions are:

  • RESET package
  • COMMIT package
  • DELETE package
  • BACKOUT/BACKIN package
  • Package Ship

 

Environment:

All supported versions of CA Endevor

 

Cause:

The abend occurs when the Endevor package action finds a package backout record that now points to an ELIB, while it was pointing to a PDS or PDSE at time the backout record and member were created.

As Endevor cannot handle backout records for ELIBs, it is not expecting a package backout record is pointing to an ELIB, so it opens the listing library using the incorrect I/O program, which leads to the S213-04 abend.

Resolution:

Run the Endevor job BC1JRPKG with the following DD statement allocated:

//EN$BKOUT DD DUMMY


When EN$BKOUT is allocated, BC1PPKGC will not only do standard package record cleanup but also remove all backout records pointing to ELIBs. After the clean-up all the previously mentioned package actions will work again.