IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEBCOPY for Xferring PDS between MVS systems.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Apr 15, 2010 3:34 pm
Reply with quote

Hi,

I have some PDS (my rexx routines, cobol programs etc) in one of the MVS systems which I need to transfer to a new MVS system. I tried following:

1. Using IEBCOPY I unloaded the PDS into a RECFM=VS file.

2. FTP'ed it using B mode to the PC from MVS system 1.

3. FTP'ed the file to MVS system 2 using B mode.

4. Now when I try to load the PDS using IEBCOPY, it doesn't work because the RECFM of the PDS is FB and RECLEN also is different from what it was in System-1.

Is there a way the properties of the unlaoded PDS can be retained while FTP'ing process.

Thanks in advance. Please let me know if I wasn't clear anywhere.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Apr 15, 2010 3:42 pm
Reply with quote

Why not ftp direct to the target system ?
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Apr 15, 2010 3:44 pm
Reply with quote

Hi expat - actually I am moving out of my current organization, and want to take with me some of the tools I had built icon_smile.gif .. so can't ftp directly. I need to get them to PC and then FTP back.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Apr 15, 2010 3:45 pm
Reply with quote

so i simulated that scenario using the same mvs system but a different lpar.. but it didn't work there.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 15, 2010 4:16 pm
Reply with quote

If I needed to do this (again), I would:
1. create directory on PC
2. FTP to old system issuing commands:
cd 'pds.file.name'
prompt
mget *
which will transfer each member individually to the PC directory.
3. FTP to new system issuing commands:
cd 'new.pds.file.name'
prompt
mput *
to transfer each member individually from the PC directory.
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Apr 15, 2010 4:51 pm
Reply with quote

thanks Robert. it helped. icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 15, 2010 4:56 pm
Reply with quote

Glad to hear that it helped!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to go into a subprogram in IBM De... IBM Tools 5
No new posts Learning about Systems Assembler prog... PL/I & Assembler 5
No new posts IEBCOPY COPYGROUP and EXCLUDE IBM Tools 6
No new posts IEBCOPY - Not replace a existing PDS ... JCL & VSAM 15
No new posts IEBCOPY - wild-card for member copies??? JCL & VSAM 2
Search our Forums:

Back to Top