Transfer File from Mainframe to Local PC



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Transfer File from Mainframe to Local PC

Postby Tushar7485 » Fri Jul 03, 2009 7:45 pm

I'm working on Mainframe through TN3270. I want to transfer a file from Mainframe to my local PC through Batch for an automation.

I went through a lot of links in the main forum but got confused regaring how to implement it. I tried using "FILEXFER" using REXX, but got the following error "Network data:'TCP/IP CONNECT RC=61".

i wanted to know how can i do a file transfer through Batch. Would it support given my Local IP address.

Thanks....
Tushar7485
 
Posts: 2
Joined: Fri Jul 03, 2009 7:38 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Transfer File from Mainframe to Local PC

 

Re: Transfer File from Mainframe to Local PC

Postby MrSpock » Fri Jul 03, 2009 8:18 pm

Well. we don't know your system, your desktop environments, your site standards, or anything else in order to offer much help based on what little information you've provided. All that is known at this point is that you want to transfer a file using a batch process.

Let's look at the options. You'll need to provide more details as necessary.

- FTP. File Transfer Protocol (FTP) is a client-server TCP/IP based standard. FTP requires a host server and a remote client. If you wish to initiate the transfer from the mainframe side, then the mainframe is the server and your local system is the server. That means that ir must have an FTP server running as a service. If your local machine does not have an FTP server enabled, which it most likely doesn't, then this can't work. However, most shops do have FTP-enabled servers where you can transfer your file to, and then access it by mapping that server as a drive.

- ISPF File Transfer. This is the ISPF Option 3.7. This is also a client-server application. If you can download and install the workstation client component (WSA.EXE) on your local machine, then you can use this. You can code a program that uses the ISPF Services for File Transfer and then call that program from a batch ISPF job.

- SMTP MIME. Many places will just send a file as an SMTP email MINE attachment. Certainly doable if you have the infrastructure/software to allow this.

- Other File Transfer methods. There are other products that can be used to transfer files from one system to another (Connect:Direct and XCOM are two major ones), but you of course need to have these products available and licensed for your use.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: Transfer File from Mainframe to Local PC

Postby Tushar7485 » Sat Jul 04, 2009 10:11 am

Thanks for providing the options...

For FTP:- I am able to FTP the file through onilne(ISPF 3.6) & have an FTP.exe file in TN 3270 program. Does that mean i have the necessary support.

While trying through ISPF option 3.7, i dont see any option for downloading WSA.exe.

I am using TN3270 on Windows. Let me know if you need other details.

Thanks....
Tushar7485
 
Posts: 2
Joined: Fri Jul 03, 2009 7:38 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Transfer File from Mainframe to Local PC

Postby dick scherrer » Sat Jul 04, 2009 9:58 pm

Hello,

The ftp program that is part of tn3270 is probably an ftp client - not what you need to send a file from the mainframe using jcl. Most organizations will not permit individual's system to be configured as an ftp server.

Try to send the file as an e-mail attachment (so long it is not larger than your e-mail system permits).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post