Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IEBCOPY for Xferring PDS between MVS systems.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: IEBCOPY for Xferring PDS between MVS systems.
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: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 15, 2010 3:42 pm    Post subject:
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    Post subject:
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    Post subject:
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: 8125
Location: East Dubuque, Illinois, USA

PostPosted: Thu Apr 15, 2010 4:16 pm    Post subject:
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    Post subject:
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: 8125
Location: East Dubuque, Illinois, USA

PostPosted: Thu Apr 15, 2010 4:56 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. BAE Systems - Recruitment Open Days -... Express Mainframe Jobs 0 Fri Apr 22, 2016 8:19 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
This topic is locked: you cannot edit posts or make replies. Job Offer: Information systems consu... Express Mainframe Jobs 0 Thu Mar 10, 2016 7:18 pm
This topic is locked: you cannot edit posts or make replies. Canada mainframe systems programming ... Gary Jacek Mainframe Jobs 0 Sat Jan 30, 2016 4:26 am
No new posts How to select multiple systems in AFO... rabiswas CA Products 8 Fri Feb 13, 2015 10:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us