The PM008 and PV069 error occurs in the ++TRANSFER job
search cancel

The PM008 and PV069 error occurs in the ++TRANSFER job

book

Article ID: 39015

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

When we tried to transfer a member between two Panvalet libraries which had CONTROL code, we received the PM008 and PV069 error as follows.
 
  PM008 INVALID LIBRARY CONTROL CODE PANDD2*
  ***** PANVALET EXECUTION TERMINATED *****     * ERROR MESSAGE  = PV069 *
 
 
Steps to Reproduce:
 
 1. Create two Panvalet libraries which has CONTROL code.
 2. Add a member to one Panvalet library.
 3. Execute the following JCL.

    //STEP01  EXEC PGM=PAN#2
    //STEPLIB  DD DSN=
Prefix.Panvalet.CBA3LINK,DISP=SHR
    //SYSPRINT DD SYSOUT=*
    //PANDD1   DD DSN=Prefix.User.PANLIBA,DISP=SHR
    //PANDD2   DD DSN=Prefix.User.PANLIBB,DISP=SHR
    //SYSIN    DD *
    ++OPTION OUTPUT
    ++CONTROL nnnnn
    ++TRANSFER member
    /*
    //

 4. Receive the PM008 and PV069 error.

Cause

You must specify the CONTROL code for both Panvalet libraries.

Resolution

- Need the ++CONTROL card for both Panvalet libraries as follows.

- Also, need the "A" as the 72th column option for output library as follows.

 

    ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--

    //STEP01  EXEC PGM=PAN#2

    //STEPLIB  DD DSN=Prefix.Panvalet.CBA3LINK,DISP=SHR

    //SYSPRINT DD SYSOUT=*

    //PANDD1   DD DSN=Prefix.User.PANLIBA,DISP=SHR

    //PANDD2   DD DSN=Prefix.User.PANLIBB,DISP=SHR

    //SYSIN    DD *

    ++OPTION OUTPUT

    ++CONTROL nnnnn

    ++CONTROL nnnnn                                                        A

    ++TRANSFER member

    /*

    //

Additional Information

For more information, please see the "Chapter 5: PAN#2 Library Protection", "CONTROL Command" of the "System Management Guide".