0% found this document useful (0 votes)
50 views1 page

IEBGENER Utility

The document provides multiple JCL (Job Control Language) examples for copying datasets using the IEBGENER utility. It includes instructions for copying a PS (Physical Sequential) dataset to another PS, copying a PDS (Partitioned Data Set) member to another PDS member, and copying between PS and PDS formats. All operations are performed using the IEBGENER utility with specified dataset attributes and parameters.

Uploaded by

balaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views1 page

IEBGENER Utility

The document provides multiple JCL (Job Control Language) examples for copying datasets using the IEBGENER utility. It includes instructions for copying a PS (Physical Sequential) dataset to another PS, copying a PDS (Partitioned Data Set) member to another PDS member, and copying between PS and PDS formats. All operations are performed using the IEBGENER utility with specified dataset attributes and parameters.

Uploaded by

balaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

JCL TO COPY A PS TO PS USING IEBGENER UTILITY

//TRGM1R JOB'001',NOTIFY=&SYSUID
//STEP10 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=TRGM1R.COPY.FROM.HERE,DISP=SHR
//SYSUT2 DD DSN=TRGM1R.COPY.TO.HERE,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(10,20)),
// UNIT=SYSDA,
// DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSDUMP DD SYSOUT=*
//SYSIN DD DUMMY
//

2.JCL TO COPY A PDS MEMBER TO ANOTHER PDS MEMBER USING IEBGENER UTILITY

//SYSUT1 DD DSN=TRGM1R.EMPTY.JCL.PDS(MEMBER1),DISP=SHR
//SYSUT2 DD DSN=TRGM1R.EMPTY.JCL.PDS(MEMBER2),

// SPACE=(TRK,(1,1,1)),

3.JCL TO COPY A PS TO ANOTHER PDS MEMBER USING IEBGENER UTILITY

//SYSUT1 DD DSN=TRGM1R.EMPTY.JCL.PS,DISP=SHR
//SYSUT2 DD DSN=TRGM1R.EMPTY.JCL.PDS(MEMBER1),

// SPACE=(TRK,(1,1,1,)),

4.JCL TO COPY A PDS MEMBER TO ANOTHER PS USING IEBGENER UTILITY

//SYSUT1 DD DSN=TRGM1R.EMPTY.JCL.PDS(MEMBER1),DISP=SHR
//SYSUT2 DD DSN=TRGM1R.EMPTY.JCL.PS

// SPACE=(TRK,(1,1)),

*************************************************ALL THESE COPYING A DONE USING


IEBGENER
UTILITIES*********************************************************************

You might also like