|
View previous topic :: View next topic
|
| Author |
Message |
Kishore_in_IBM
New User

Joined: 13 Dec 2006 Posts: 5 Location: Mumbai
|
|
|
|
Hi All,
Can any body guide me how to split a pds in to two halfs.Is there any utility for this,If so please reply me with a sample example |
|
| Back to top |
|
 |
muthukannan
New User
.jpg)
Joined: 03 Aug 2006 Posts: 42 Location: Chennai
|
|
|
|
Hi Kishore,
Can you tell me why you want to split the pds. And please elaborate your question. Meaning how you want to split.
Thank you,
MK  |
|
| Back to top |
|
 |
Kishore_in_IBM
New User

Joined: 13 Dec 2006 Posts: 5 Location: Mumbai
|
|
|
|
Hello Mutthu,
We have are many test regions .When ever i try to transmit the pds to one test region to another test region,the complete members in the pds are not able to transmit.So generally i will copy the whole members manually into two different datasets and i then i will transmit.
This is very time consuming process.So i want a jcl or utility so that i can able to copy the members of a dataset in to two different datasets.I tried with IEBCOPY but evey time i need to change the member names in select member field since i will be using different dataset. |
|
| Back to top |
|
 |
Kevin
Active User

Joined: 25 Aug 2005 Posts: 234
|
|
|
|
1. Create & format the member list.
2. Using ICETOOL, count the number of directory entries, and build the process to split the member list into two using the SPLIT1R= command.
3. Run IEBCOPY for the first split.
4. Run IEBCOPY for the second split. |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
How are you "transmitting" the pds to the target region?
Using ftp usually works much better than "send" via tso.
To streamline the process, compress a copy of the pds on the "from" region, ftp it to the "to" region, and then decompress it on the target region. This will migrate the entire data set and remove the need to split it. |
|
| Back to top |
|
 |
Kevin
Active User

Joined: 25 Aug 2005 Posts: 234
|
|
|
|
The PDS could also be "PUNCHED" into a single sequential dataset, sent to the other node, and then reconstituted back into the target PDS.
Also, I would think that the PDS could be converted to a sequential dataset using IEBCOPY, sent to the other node, and then reconstituted using IEBCOPY again. |
|
| Back to top |
|
 |
Kishore_in_IBM
New User

Joined: 13 Dec 2006 Posts: 5 Location: Mumbai
|
|
|
|
Kevin,
Can you please elobarate your first reply to this query.
1. Create & format the member list.
2. Using ICETOOL, count the number of directory entries, and build the process to split the member list into two using the SPLIT1R= command.
3. Run IEBCOPY for the first split.
4. Run IEBCOPY for the second split.
If possible give me an example jcl.
Thanks in advance.
Kishore |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Programers are, by their nature, experimenters, go, experiment....If you can crash the system, it's not your fault, blame the security guy....  |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
| Back to top |
|
 |
shitij
New User
Joined: 09 Sep 2005 Posts: 31 Location: Delhi
|
|
|
|
Run this job:
| Code: |
//SPLITBY EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=DWT.FILE
//OUT1 DD DSN=DWT.FILE.SPLIT01,
// SPACE=(402,(1000,200),RLSE),
// DCB=(RECFM=FB,LRECL=400,DSORG=PS,BLKSIZE=0),
// AVGREC=K,
// DISP=(NEW,CATLG),UNIT=SYSDA
//OUT2 DD DSN=DWT.FILE.SPLIT02,
// SPACE=(402,(1000,200),RLSE),
// DCB=(RECFM=FB,LRECL=400,DSORG=PS,BLKSIZE=0),
// AVGREC=K,
// DISP=(NEW,CATLG),UNIT=SYSDA
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL FNAMES=(OUT1,OUT2),SPLIT
/*
//*
|
I hope it solves the problem...else get back to me. |
|
| Back to top |
|
 |
|
|