IEBCOPY Exclude members while copying
//IEBCOPY JOB (12345),CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=T12345.SOURCE.PDS,DISP=SHR
//SYSUT2 DD DSN=T12345.TARGET.PDS,DISP=SHR
//SYSIN DD *
COPY OUTDD=SYSUT2,
INDD=SYSUT1
EXCLUDE MEMBER=TEMP1,OLDPGM
/* Last updated
Was this helpful?