Getting unauthorized access errors messages when copying members from one Librarian master file to another Librarian master file.
search cancel

Getting unauthorized access errors messages when copying members from one Librarian master file to another Librarian master file.

book

Article ID: 44908

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

 

Getting unauthorized access errors messages when copying members from one Librarian master file to another Librarian master file. 

 

 

Environment

Release: LIB-AM00200-4.4-CA-Librarian-Access Method
Component:

Resolution

Background:

Need to copy over specific members to a new Librarain master file for a new user group.

Instructions:

Unless you specify the management code(MCD), no processing to a PROD2 member can take place. With the management code, there are no restrictions.

To get around this situation you will need to change the member status from PROD2 to TEST when the MCD code is on the current master file but not on the target master file. 

Example JCL below:

//STEP1  EXEC  PGM=AFOLIBR,PARM='NJTA,NRJS'
//MASTER DD DISP=SHR,DSN=YOUR.CURRENT.LIBRARIAN.MASTER
//SYSPRINT DD SYSOUT=*
//INDEX    DD SYSOUT=*
//LIST     DD SYSOUT=*
//OSJOB    DD DSN=&&UTI,DISP=(,PASS),UNIT=SYSDA,
// SPACE=(CYL,(100,100)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//SYSIN DD *
-OPT UTILITY
-MCD nnnn - <<<<<current master file management code >>>>>
-OPT
-COPY memname,STATUS=TEST,PWSD
-END
//STEP2  EXEC  PGM=AFOLIBR,PARM='NJTA,NRJS'
//MASTER DD DISP=SHR,DSN=YOUR.TARGET.LIBRARIAN.MASTER
//SYSPRINT DD SYSOUT=*  
//INDEX    DD SYSOUT=*  
//LIST     DD SYSOUT=*  
//SYSIN    DD DSN=&&UTI,DISP=(OLD,PASS)
//OSJOB    DD DUMMY
//
 
 
Additional Information:
 
Please refer to the CA Librarian Security Administration Guide for PROD2 member security.