Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Maybe everyone else already knows this but maybe it will help someone.
I have always created my PDSEs with 3.2 and DSORG Lib
But I did not know how to create a PDSE in JCL.
I did searches in this forum and the web but did not find it. I found hints and with testing created the following JCL to create the PDSE.
Code: |
//**********************************************************
//** CREATE THE PDSE **
//**********************************************************
//STEP10 EXEC PGM=IEFBR14
//DD01 DD DSN=HLQ.PDSE1,
// DISP=(NEW,CATLG,DELETE),
// UNIT=DISK,SPACE=(CYL,(2,1)),
// DCB=(LRECL=80,BLKSIZE=0,DSORG=PO,RECFM=FB),
// DSNTYPE=LIBRARY
//**********************************************************
//** CREATE A PDSE MEMBER **
//**********************************************************
//STEP20 EXEC PGM=ICEGENER
//SYSUT1 DD *
//SYSUT2 DD DSN=HLQ.PDSE1(MEMBER1),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//********************************************************** |
|
|