Saturday, September 20, 2008

How to transfer a dataset from mainframe to PC thru FTP ?

How to transfer a dataset from mainframe to PC thru FTP ?

1) Find the IP address of the mainframe system you are transmitting from.
Go ot ISPF option 6(command)
- type PING DIPN then hit ENTER
- Look for a message like the one below to find the IP address
148.171.100.2

2) Go to a DOS Prompt (COMMAND PROMPT in WINDOWS 2000) on your PC
- Type FTP then hit ENTER
- Type OPEN 148.171.100.2(i.e ip_address)
- Hit ENTER
- Enter your TSO ID and PASSWORD
- Enter the RECV command to receive the mainframe file down to your PC
RECV 'WXX262.SE.SED103.SE585.NEW' c:\temp\yourfile.txt
- Type CLOSE and hit ENTER
- Type BYE then hit ENTER to exit

No comments: