We have a nightly IDCAMS job which successfully performs a VSAM BACKUP. However, we have seen that the assignment for the tape may not be released at the end of the job. A LISTIO shows SYS005, for example, still assigned to tape. Why was the assignment not released at EOJ?
IBM's IDCAMS BACKUP does not perform a LOGICAL CLOSE at EOF during a BACKUP run, leaving the assignment in place. To have CA Dynam resolve this for you and release the assignment after the backup completes, add the following step after the IDCAMS BACKUP.
// EXEC TDYNASN CLOSE TAPE,SYS005,OUTPUT /*
See the CA Dynam for VSE User Guide for additional information about TDYNASN and using Dynam with other software.