I'm not famililar with .netrc, but the mainframe does have several ways to perform automatic FTPs.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
There is an FTP program you may invoke from batch jobs where you provide the FTP commands in a series of input cards. The good news is you can use this method to send and receive files from a scheduled batch or ad-hoc jobs. The problem is that the control cards aren't very flexible and, depending on your security set up, you may have to include the password in clear text. Some of these deficiencies can be avoided if you write another program to create the control cards on the fly before passing them to the FTP program.
You can also write your own program using FTP's protocol. This gives you a lot more flexibility dealing with errors and different servers. It is also more secure.
In either case, get in touch with some mainframe friends or look at the appropriate IBM manuals.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs?continue reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology.continue reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible?continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.