Unexpected results when copying PRMOD members.
search cancel

Unexpected results when copying PRMOD members.

book

Article ID: 59188

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

When copying Librarian PRMOD Printer listing members from the Librarian master file to a PDS, the PDS dataset is empty even though the batch jobs ends with a return code 0000.

Environment

Librarian V4.4
Librarian-Access Method(LAM)

Resolution

There are restrictions with PRMOD members.

The only way to copy PRMOD members is to copy one at a time using either -SEL LIST or using IEBGENER and SUBSYS=LAM.

  1. Using IEBGENER and LAM
    //* IEBGENER TO COPY A PRMOD MEMBER FROM THE MASTER FILE TO A PDS.
    //STEP1 EXEC PGM=IEBGENER
    //SYSPRINT DD SYSOUT=*
    //SYSUT1 DD DSN=LIBR.MAST(member1),DISP=SHR,
    // DCB=(BLKSIZE=133,RECFM=F),SUBSYS=LAM
    //SYSUT2 DD DSN=PDS.FILE(member1),DISP=SHR
    //SYSIN DD DUMMY
    /*
    //

  2. Using -SEL LIST
    //* LIST A PRMOD MEMBER FROM THE MF TO A PDS
    //LIB EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'
    //SYSPRINT DD SYSOUT=*,
    //INDEX DD SYSOUT=*
    //LIST DD DSN=PDS.FILE(member1),DISP=SHR
    //MASTER DD DSN=LIBR.MASTER
    //OSJOB DD DUMMY
    //SYSIN DD *
    -SEL member1,LIST
    -END
    /*
    //