Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File transfer to PC without using FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 1:07 am    Post subject: File transfer to PC without using FTP
Reply with quote

Is it possible to automate the download the files from the Mainframe to my desktop without using FTP?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 1:17 am    Post subject: Reply to: File transfer to PC without using FTP
Reply with quote

Well, without using FTP, what other options for file transfer ARE supported for desktops at your site? NDM? MQSeries? TCP/IP sockets? How about emailing the file as an attachment?

Maybe you can code a program to use the ISPF File Transfer (Option 3.7) Services and then a batch job to invoke it? Maybe you can write your own TCP/IP application to manage a file transfer between systems?
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 1:36 am    Post subject:
Reply with quote

Ok The problem is i need to download 100 files from Mainframe to My PC daily .If i use the FTP option i'am not sure of the parameter that i need to pass other than the Username,Password , source file name ,Target file name.How will say the FTP pgm to place the file from mainframe in a particular directory of my PC? Since i'am a new to the FTP concept i'am not sure how it works.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Aug 15, 2008 1:39 am    Post subject:
Reply with quote

You could try IND$FILE. It's slower than FTP but it does work.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 1:46 am    Post subject: Reply to: File transfer to PC without using FTP
Reply with quote

I think that the concept here is that the O/P wants to push files across to the desktop auto-magically.

The major problem, if the desktop is a Windows (non-server) machine, is that these rarely have a static TCP/IP address or hostname. So, trying to initiate a connection is like trying to hit a moving target.
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 1:46 am    Post subject:
Reply with quote

Thanks Craq.Is it possible to run the IND$FILE in batch?If yes,Do u have any example on how to do that?
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 1:50 am    Post subject:
Reply with quote

Thanks for your explanation SuperK.Comin to your point i think my PC has a Static IP.so it should be possible to Transfer file to my pc from Mainframe.Now the question is How to do that ,Like what parameter that we need to pass.can you please throw some light on that.so that i can give it a try.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 1:50 am    Post subject:
Reply with quote

krk_kumar1 wrote:
Is it possible to run the IND$FILE in batch?


No, it is not.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 1:54 am    Post subject: Reply to: File transfer to PC without using FTP
Reply with quote

Krishna, you have FTP connectivity to the desktop? If you do, you should be able to logon to this FTP server, and then enter the HELP subcommand without any parameters. HELP will return a list of all of the supported FTP subcommands for that server. Then, you can enter HELP <command> to get the help text for that particular command.
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 1:59 am    Post subject:
Reply with quote

Thanks Superk.But i've never worked in the FTP process.so how can i check wether i have FTP connectivity to my desktop?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 2:11 am    Post subject: Reply to: File transfer to PC without using FTP
Reply with quote

Networking is not my area of expertise, so I apologize ahead of time if I post anything that's incorrect or misleading. I'd suggest going through your network or desktop support teams.

Some general thoughts:

- Can you PING your desktop from the mainframe, i.e. TSO PING <address or hostname>? Does it respond?
- Does your desktop have a active FTP server running? Your Windows Task Manager should show if there is an FTP process running (usually FTPD).
- If so, can you start an FTP session to your desktop, i.e. TSO FTP <address or hostname>? Do you have RACF authority to start FTP?
- If so, do you know the correct logon and password?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 15, 2008 2:12 am    Post subject:
Reply with quote

Hello,

Quote:
i think my PC has a Static IP.so it should be possible to Transfer file
Not correct. . . Having a static ip address has nothing to do with whether your computer is configured to be a server rather than a client. Having tcp/ip connectivity (ping or tracert) does not mean your system is a server.

Most personal computers are not configured as an ftp server. It is usually not permitted for security reasons as well as the additonal administrative work. To find out if this is even permitted in your organization, talk with your network support people.

Nearly all personal computers have an ftp client.

If you want to download many files from the mainframe and you know the file names on the mainframe as well as have security to read them, you could write a batch ftp (on your pc) to download the files.

As was mentioned, you could possibly send them as attachments to e-mails sent to your id from the mainframe.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 15, 2008 2:17 am    Post subject:
Reply with quote

Hello again,

These days, nearly all "3270 terminals" are connected via tcp/ip, so it is most likely that you do have connectivity.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 15, 2008 2:17 am    Post subject: Reply to: File transfer to PC without using FTP
Reply with quote

Sigh.

I miss OS/2. All of our workstations had static IP addresses and full FTP server capability.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Aug 15, 2008 2:27 am    Post subject:
Reply with quote

You can create a "list" of files in IND$FILE and recall the list each day for transferring. It's not automatic, but once you start it it would run without intervention.
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Fri Aug 15, 2008 3:03 am    Post subject:
Reply with quote

Thanks d.sch.I tried FTPing and i got an receive error
"EZA2590E recv error from getNextReply - EDC8128I Connection refused. (errno2=0x769F0442) " and got a return code of 1808 .so what does this mean?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 15, 2008 3:11 am    Post subject:
Reply with quote

Hello,

Quote:
I tried FTPing
When you say you tried to ftp - you did start the ftp client on your desktop and then try to connect to the mainframe ftp service, correct?

Quote:
EDC8128I Connection refused
You need to get this resolved. The best place to get assistance is your network support people. Then can quickly identify if your pc is properly configured and if you are trying to get to the correct ip address fro the mainframe.

Once they resolve your desktop or connection issue(s), let us know how you progress.
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Wed Aug 20, 2008 8:06 pm    Post subject:
Reply with quote

Hi D.Sch I installed the IIS and tried FTPing the File from Mainframe to My computer. This time the connection was established.
but got an error code 550 saying that "Access is denied" . I tried by changing the Path by giving
cd /Documents and Settings/User/Desktop/download and the above folder exists but still getting the error of 550 with the message as "The system cannot find the path specified" .so can you plz throw some light on what am i doing wrong here?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Aug 20, 2008 8:40 pm    Post subject:
Reply with quote

Hello,

Quote:
I installed the IIS
You installed IIS on your desktop? This is not typically done. . .

Quote:
got an error code 550 saying that "Access is denied"
What raised the "access denied" error? The id being used has not been given proper pernmissions or the service is not to be used (restricted).

As i mentioned before, your network people will have all of the answers about your environment - at best we can guess.

Quote:
"The system cannot find the path specified"
This may be the mainframe path. . .
Back to top
View user's profile Send private message
krk_kumar1

New User


Joined: 14 Mar 2006
Posts: 39

PostPosted: Wed Aug 20, 2008 10:42 pm    Post subject:
Reply with quote

Hi all ,
Thank you very much for your support.finally i was able to do the file transfer from mainframe to my computer by running a batch FTP job. So what i did was

Step 1 : Install IIS in my computer.
Step 2 : make a virtual directory and point home directory setting in the IIS to the virtual directory
Step 3: Change the security settings in the IIS to have WRITE access(Click FTP-Sites ---> Default FTP Site ---> right Click ---> Properties -----> Home Directory ---> Check the Write box) the Virtual directory.
Step 4: Stop the FTP Server and restart it
Step 5: Run the FTP job .Bingo you got the file in your Virtual directory.

Thanks Again
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us