IDCAMS BACKUP not releasing its assignment at EOJ
search cancel

IDCAMS BACKUP not releasing its assignment at EOJ

book

Article ID: 53892

calendar_today

Updated On:

Products

Dynam for VSE Dynam VSE Option

Issue/Introduction

You have a nightly IDCAMS job which successfully performs a VSAM BACKUP. However, you 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?

Environment

Release:
Component: DYNTVS

Resolution

IBM's IDCAMS BACKUP does not perform a LOGICAL CLOSE at EOF during a BACKUP run, leaving the assignment in place. To have 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 Dynam for VSE User Guide for additional information about TDYNASN and using Dynam with other software.