Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get FTP from the MainFrame?

Status
Not open for further replies.

RedSoxM3

IS-IT--Management
Mar 27, 2006
39
US
Hi,

This is my first FTP from the mainframe. Can I have some help with my statement?

Basically, here is the dataset:
CFMSMP.T12610.CLUE.AUTO.JUNE06.FORTEST

Once they drop the trigger, my code looks like this so far:

RUN("RUN_FTP.mmc", "-IAFTP1 '-T -URL ftp://logon:password@168.147.3.65/CFMSMP.T12610.CLUE.AUTO.JUNE06.FORTEST' -OF1 ftp_out.txt")

Is this right? What should the logon and password be when it comes to the mainframe? Does it matter if this is going to be a generational dataset?
 
from my exp it looks the same as the standard FTP with one exception. We don't point to the file name we point to the catalog and a DDName.

RUN("RUN_FTP.mmc", "-IAFTP1 '-T -URL ftp://logon:password@168.147.3.65/catalog/ddname' -OF1 ftp_out.txt")

Did you try running the FTP from a command window?

PS: For us to initiate an ftp get from the MF had to arrange it with our admin for every file... but we are VSE. Found it easier to let the MF 'put' the file when it was ready.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top