View previous topic :: View next topic |
Author |
Message |
Vamsi Krishna Beginner
Joined: 24 Dec 2005 Posts: 3 Topics: 2
|
Posted: Wed Dec 28, 2005 6:25 am Post subject: How to Move members |
|
|
How to copy or move members of a Dataset with RECFM= U to a Dataset with RECFM= FB. _________________ Thanks,
Vamsi Krishna |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Wed Dec 28, 2005 6:29 am Post subject: |
|
|
Vamsi,
You can convert a PDS from one RECFM to another using IEBGENER. See below. You need to create a new member into the PDS with DISP=MOD and overriding the DCB parameters.
Code: |
//R010 EXEC PGM=IEBGENER
//SYSUT2 DD DSN=MY.PDS.RECFMU(NEWMEM),
// DISP=MOD,DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920,DSORG=PO)
//SYSUT1 DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
|
Check this link for more information.
http://www.mvsforums.com/helpboards/viewtopic.php?p=26544#26544
Thanks,
Phantom |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Wed Dec 28, 2005 11:19 am Post subject: |
|
|
That will, of course, destroy the PDS unless the data in every member matches all the lengths and layouts needed to satisfy the new lrecl and blksize.
What exactly are you trying to accomplish? This question appears to be asking how to implement a proposed solution without describing what the problem is. |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Dec 28, 2005 1:45 pm Post subject: |
|
|
If you want to create a transportable copy of the PDS, look into TSO TRANSMIT. You can unload the PDS into FB,80 byte recs, send via FTP (or ??) and rebuild using TSO RECEIVE. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Dec 29, 2005 1:12 am Post subject: |
|
|
Semigeezer Said:
Quote: |
That will, of course, destroy the PDS unless the data in every member matches all the lengths and layouts needed to satisfy the new lrecl and blksize.
|
I agree with you. We used that solution when one of my colleague accidentally, converted a program source PDS to Load module. He gave the source pds name as Load module in his compile jcl by mistake.
As you said, I am not sure what Vamsi actually needs. Lets wait for his response.
Thanks,
Phantom |
|
Back to top |
|
 |
|
|