DYNAM/T and LIBR with RESTORE=STANDALONE 0P31A DVC NOT OP SYS006=F99
search cancel

DYNAM/T and LIBR with RESTORE=STANDALONE 0P31A DVC NOT OP SYS006=F99

book

Article ID: 243840

calendar_today

Updated On:

Products

Dynam for VSE

Issue/Introduction

When running a LIBR Backup with option RESTORE=STANDALONE I get the following message: 

0014 0P31A     DVC NOT OP SYS006=F99
     CCSW=    NOT AVAILABLE   CCB=0061DA50

where device F99 is my first dummy tape drive for DYNAM/T

IF I run a LIBR with NO Restore=Standalone before the Restore=Stand it works ... Am I missing something?

Resolution

The initial reported problem where message 0P31A DVC NOT OP is issued when you specify RESTORE=STANDALONE occurs because IBM does pre-open checking when RESTORE=STANDALONE is specified which is why you need to add a TDYNASN ASSGN before executing LIBR.

Sample JCL in Chapter 2 of the User Guide provides guidance

// JOB BACKUP STANDALONE
// TLBL BACKUP,'LIBR.BACKUP',0,,,,,08
// EXEC TDYNASN,SIZE=128K
ASSGN BACKUP,SYS006,OUTPUT
/*
// ASSGN SYS010,SYS006 */ SAVE TAPE ADDRESS FOR MTC RUN */
// EXEC LIBR
BACKUP LIB=IJSYSRS TAPE=SYS006 RESTORE=STANDALONE TAPEL=BACKUP
/*
// MTC RUN,SYS010