Hey Frnds,
I want to do this using a prog (JCL) not manually.
Input Parttion DS contains 340 members (LRECL=80) and I want to take a back up of input PDS into output PDS(with Lrecl=120).
How could i go with IEBGENER which supports copy of single file at one time.
Do u meant that I should submit 340 jobs for back up?
Only IEBCOPY ,I know, supports to take a bkup of entire Partitioned DS.
In short , I need an advanced version of IEBCOPY just like wat LMCOPY manuaaly done do.
Herewith JCL m giving you.
//IEBCOPYX JOB (SDR0,CPSC,3,5),'IEBCOPYX',SCHENV=AA00
//STEP2 EXEC PGM=IEBCOPY
//SYSUT1 DD DSN=SB355U.QQ.PDS,DISP=SHR
//SYSUT2 DD DSN=SB355U.FF.PDS,DISP=(MOD,CATLG),
// SPACE=(TRK,(1,1,2)),UNIT=SYSDA,
// DCB=(LRECL=120,BLKSIZE=1200,RECFM=FB,DSORG=PO)
//SYSPRINT DD SYSOUT=*
//*SYSIN DD DSN=SB355U.MYSDR.UTLJCL.TEST(INPUT),DISP=SHR
//SYSIN DD *
COPY INDD=((SYSUT1,R)),OUTDD=SYSUT2
/*
//
Nw you people think and reply please.
Thanks in advance.