Copy data from one mainframe to another

0 pts.
Tags:
390
DB2
Mainframe
zSeries
Hi everyone, I'm a complete newcomer to the mainframe world, and have been tasked with writing some procedures to copy data (not just files, but directories... PDS I think its called?) from one mainframe to another. I've researched it a bit, and it seems that FTP is probably the best way to go about it. I know nothing about what I'm getting into, but he powers that be have told me to "figure it out". No training is available, and Google for once is next to useless. Questions: 1. Is ftp the way to go? 2. I've read about REXX scripts, would this be the best way to go? 3. Is it even possible? Our resident mainframe guru says it should be, but he is too busy to spend time on this. 4. Any suggestions on how to start? 5. Any good website(s) that would be of use? Thanks in advance, -Shawn
ASKED: November 30, 2005  3:19 PM
UPDATED: June 27, 2013  6:42 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

FTP it. If you have some REXX program from someone you know and trust, and it is tried and true go for it. But I think FTP is going to be your best answer. Keep up with your Record format, record length, block sizes and cylinders. Backup everything, delete nothing. You will be alright.

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • S390Tek
    Is this a one time thing or will this be a daily thing, etc.? Not knowing the scenario I?ll assume its daily and you have job scheduling capabilities. If you?ve worked with FTP before (i.e, get, put, etc.) an FTP batch job should look familiar. For example: //jobcard //* //STEP010 EXEC FTP //* //INPUT DD * ip adrress user id password TYPE I PUT 'XXX.YYY.ZZZ' 'AAA.BBB.CCC' QUIT /* For more information take a look at z/OS Communications Server IP User?s Guide and Commands (SC31-8780). If you?re trying to put something together using ISPF dialogs take a look at FTPB (http://www.lbdsoftware.com/) or other solutions at CBT Tape (http://www.cbttape.org/).
    0 pointsBadges:
    report
  • BlueKnight
    Since you stated that you need to get the PDS directories as well as the data, why not use the IEHMOVE utility to unload the PDS to tape, then restore it on the target system. It would accomplish the task and you'd have the copy on tape for backup. See z/OS DFSMSdfp Utilities SC26-7414-01
    10 pointsBadges:
    report
  • Shawnb
    Wow thanks for all the fast replies. I should have been a little more clear with what I need to do. I need to have a script (REXX I suppose) that end users will be able to run to move data between mainframes. The would have to be able to input the proper parameters... ie. where the data is and where it has to go. Then they can submit the job whenever they need to. Is REXX the way to go? Where's a good REXX reference site? Thanks again.
    0 pointsBadges:
    report
  • S390Tek
    Take a look at FTPB. I believe it already does what you want to do.
    0 pointsBadges:
    report
  • S390Tek
    The URL was supplied in my first reply. You can obtain it from www.lbdsoftware.com. Specifically I believe it?s at http://www.lbdsoftware.com/ftpb216.zip. Let me know how it works out for you.
    0 pointsBadges:
    report
  • Shawnb
    Thanks muchly. I had found it earlier. Having some problems getting it transferred up to the mainframe properly, but our resident guru should be able to help me with that. I'll definately let you know how I make out.. thanks again! -Shawn
    0 pointsBadges:
    report
  • S390Tek
    Something like this should work: //ALLOC EXEC PGM=IEFBR14 //SYSPRINT DD SYSOUT=* //TEMP DD DSN=???.FTPB.TEMP, // DISP=(NEW,CATLG,DELETE), // STORCLAS=???,MGMTCLAS=???, // DCB=(RECFM=FB,DSORG=PS,LRECL=80), // SPACE=(TRK,(5,1),RLSE) //* //FTP EXEC FTP //* //INPUT DD * ???.???.???.??? logon password BIN get ftpb.xmit '???.FTPB.TEMP' (replace QUIT
    0 pointsBadges:
    report
  • TwoMetreBill
    Shawn, My advice is to get another job you have been set up to fail. What you want to do is not necessarily difficult but will depend on: a) how the machines are connected b) how they are configured c) what tools are available d) whether this is a one time job or will be executed on a schedule e) whether it is important that the data be transferred correctly 100% of the time f) the types of alerts or notifications that are expected for the success/failure of the copy Examples: 1) if the machines share DASD subsystems, then there is no need to copy the file at all; both machines can access the data. 2) if the machines are connected only with an intranet behind a firewall and this can be an occasional manual process, then FTP could be used. 3) the data could be copied to removable media (usually tape on a mainfame) and mailed to the receiving site. 4) if the data is going to be moved over an insecure network (outside the firewall) then it might be necessary to encrypt it for. Hope this helps at least a little, Bill
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following