Need sample JCL to copy all members from a Librarian Master file to a VSE library
Release : 4.1
// JOB LIBRALL
// OPTION LOG
// LIBDEF PHASE,SEARCH=(LIB.SUBLIB)
* MASTER FILE
// ASSGN SYS004,DISK,VOL=VOLSER,SHR
// DLBL MASTER,'LIBR.MASTER'
// EXTENT SYS004,VOLSER,1,0,RELTRK,NTRCKS
* CONTROL STATEMENTS FOR INPUT TO NEXT STEP
// ASSGN SYS008,DISK,VOL=VOLSER,SHR
// DLBL JOBSTR,'LIBR.WORK.FILE1',0,SD
// EXTENT SYS008,VOLSER,1,0,RELTRK,NTRCKS
// EXEC LIBRPROG,SIZE=768K
-OPT GPO
-SEL NAME=,LANG=JCL,EXEC,TEMP,VAR,COPYDDOFF,CCOPYOFF
-INS FIRST
CATALOG ¢MODNAME.JCL R=Y EOD=/#
-INS LAST
/#
-END
/*
* MASTER FILE
// ASSGN SYS004,DISK,VOL=VOLSER,SHR
// DLBL MASTER,'LIBR.MASTER'
// EXTENT SYS004,VOLSER,1,0,RELTRK,NTRCKS
* OUTPUT FROM LIBRARIAN / INPUT TO LIBR
// ASSGN SYS008,DISK,VOL=VOLSER,SHR
// DLBL JOBSTR,'LIBR.WORK.FILE2',0,SD
// EXTENT SYS008,VOLSER,1,0,RELTRK,NTRCKS
* INPUT FROM PREVIOUS STEP
// ASSGN SYSIPT,DISK,VOL=VOLSER,SHR
// DLBL IJSYSIN,'LIBR.WORK.FILE1',,SD
// EXTENT SYSIPT,VOLSER
// EXEC LIBRPROG,SIZE=768K
/*
CLOSE SYSIPT,SYSRDR
/*
/&
* $$ EOJ