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
All supported versions of CA Endevor
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.
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.