View previous topic :: View next topic
|
Author |
Message |
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why not ftp direct to the target system ? |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
Hi expat - actually I am moving out of my current organization, and want to take with me some of the tools I had built .. so can't ftp directly. I need to get them to PC and then FTP back. |
|
Back to top |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
so i simulated that scenario using the same mvs system but a different lpar.. but it didn't work there. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
genesis786
Active User
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
|
|
|
|
thanks Robert. it helped. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear that it helped! |
|
Back to top |
|
|
|