Beruflich Dokumente
Kultur Dokumente
Normally the FTP from your local desktop to mainframe is done using ISPF (option 6) TSO command prompt then selecting file transfer from action bar choice and then selecting for FTP. For small data transfer it is best option but what if your data runs into few MBs . Till the time the data transfer takes place your ISPF session will remain busy. Now you will say we can do the same task from DOS command prompt but what if you have to transfer many files? Doing transfer one by one is a cumbersome why not make the process in batch and easy. Make one job , mention all the files that needed to be FTPd and submit and you are free. But the problem comes normally FTP service not runs on your desktop. Main motive of this document to bring into knowledge how to make your desktops FTP service up rest you all are champions of robbing data via FTP (must have done it for BMC , CAs or Compuware products.)
Configuring FTP:
For FTP configuration on your local desktop follow these steps: 1. 2. 3. 4. 5. 6. Click on Start Menu. All ProgramsAdministrative ToolsInternet Information Services Click on the server to expand it.(server is local computer here). Click on FTP sites to expand it and then on default website. Right click on default websites to display properties. Click on home directory tab select Read and Log Visits (click off ) write check box is already selected. 7. Click on Security Tabs to select Allow only anonymous connections. 8. Save the settings.
9. For permission settings Right click on default FTP site. 10. On popup menu point All Tasksselect Permissions Wizards. 11. A new Permission Wizard window will open click Next 12. Select Select new securities and settings from a template 13. Click on Public FTP site then Next. 14. Choose Replace all directory and file permissions(recommended) 15. Then Next and Finish. FTP service is configured at your site and is ready to rock and roll.
// Job information or Job card ////FTPSTEP EXEC PGM=FTP //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //INPUT DD * ftp 20.198.242.168 //* my locals ip address anonymous mjadwani@csc.com //* here its my email_id actually it can be anything just to make log. binary get folder_name_on_your_desktop+ 'dataset_name_in_mainframe' (replace quit /*
By default things are present at this path on your local drive_name:\Inetpub\ftproot. For changing directories simply write cd \foldername\filenameand so on. Submit the job and your FTP is complete. Note: FTP jobs Maxrc=0 is the case most of the times . This doesnt means job ran successfully better is to look sysout. (Nothing new).
Manoj K Jadwani