MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to Move members

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Vamsi Krishna
Beginner


Joined: 24 Dec 2005
Posts: 3
Topics: 2

PostPosted: Wed Dec 28, 2005 6:25 am    Post subject: How to Move members Reply with quote

How to copy or move members of a Dataset with RECFM= U to a Dataset with RECFM= FB.
_________________
Thanks,
Vamsi Krishna
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Dec 28, 2005 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Dec 28, 2005 11:19 am    Post subject: Reply with 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.

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
View user's profile Send private message Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Dec 28, 2005 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Dec 29, 2005 1:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group