A LIBR BACKUP writes to tape but then abends with message BG 0000 0P71I SYS006 NOT ASSIGNED. Why?

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

Description:

We ran a LIBR BACKUP job to tape using the following TLBL;

// TLBL BACKUP,'BACKUP.BEFORE.PTF'

The job appearred to work, since the following CA Dynam T messages appearred;

CADT007I ****** LABEL BACKUP SYS006=7B4 004042 1 *BACKUP.BEFORE.PTF*
CADT031I *CLOSED* BACKUP SYS006=7B4 004042 BACKUP.BEFORE.PTF BLK=0

but then an IBM message was displayed and the job abended;

BG 0000 0P71I SYS006 NOT ASSIGNED 
BG 0000 0S00I JOB SYBKBPTF CANCELED

Why?

Solution:

By default, CA Dynam releases assignments at dataset close, so that resources, such as the tape drive, may be used more efficiently. However, some programs, such as IBM's LIBR in this case, may perform I/O after close. This can easily be accommodated by using a CA Dynam 'TLBL option' to hold the assignment until EOJ. In this case the TLBL would look like this
// TLBL BACKUP,'BACKUP.BEFORE.PTF,H'

Note the addition of an 'H' to the dataset name.

See the CA Dynam User Guide, Chapter 1, for the section TLBL Extensions.