Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How is it possible to do a cross-sysplex copy of a PDS
dataset by running one JCL on the target sysplex?

I tried to use IEBCOPY with SUBSYS & CSM as follows:

//CSMTRAN1 EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=PDS-Dataset-name-from,DISP=SHR,
// SUBSYS=(CSM,'SYSPLEXNAME-FROM')
//SYSUT2 DD DSN=PDS-Dataset-name-to,DISP=OLD,
// SUBSYS=(CSM,SYSPLEXNAME-TO')
//SYSIN DD DUMMY

This did not work. I always get the following error


"IEB1071E DD NAME SYSUT1 IS SUPPOSED TO BE A PARTITIONED
DATA SET BUT IT HAS NO DIRECTORY. EXPECT A TERMINAL I/O
ERROR. (DS1LSTAR=X'000000' DS1DSORG=X'0000'
JFCDSORG=X'0200') "

The source dataset is a catalogued pds dataset with many
entries. The target dataset is allocated in the same job
some lines before the transfer.
I got an example like this for PS datasets with IEBGENER.
But for PO datasets there should be a similar possibility...

Answer Posted / Abhinav Gaur

To perform a cross-sysplex copy of a PDS dataset by running one JCL on the target sysplex using IEBCOPY, you can try the following modifications to your JCL: Replace DISP=OLD with DISP=(MOD,DELETE) for the target dataset. Additionally, add an explicit DD statement for the source dataset's directory (SYSDSDIR) as shown below:nn//CSMTRAN1 EXEC PGM=IEBCOPYn//SYSPRINT DD SYSOUT=*n//SYSUT1 DD DISP=(MOD,DELETE) DSN=PDS-Dataset-name-ton//SYSDSDIR DD DSN=PDS-Directory-name,DISP=SHRn//SYSUT2 DD DSN=PDS-Dataset-name-from,DISP=OLD, SUBSYS=(CSM,&#039;SYSPLEXNAME-TO&#039;)n//SYSIN DD DUMMY

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category