473,748 Members | 4,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to connect to Mainframe to download a file

Hi,
I need help here.

I am converting an vb application to c#. The existing application connects
to the mainframe server using FTP and downloads a file (dataset).
Is it possible in .NET to avoid FTP and use any providers to connect to the
mainframe server and download a file.

I would appreciate if someone can give a reference to a link or code.

Thanks,
dinoo
Sep 7 '06 #1
3 5394
"dinoo" <di***@discussi ons.microsoft.c omwrote in message
news:52******** *************** ***********@mic rosoft.com...
I am converting an vb application to c#. The existing application connects
to the mainframe server using FTP and downloads a file (dataset).
Is it possible in .NET to avoid FTP and use any providers to connect to
the
mainframe server and download a file.

I would appreciate if someone can give a reference to a link or code.
Depending on what sort of mainframe it is, you *might* be able to use Host
Integration Server: http://www.microsoft.com/hiserver/default.mspx

You mention that the file you need is a dataset - does that imply that it's
being fetched from a mainframe database? If so, you may be able to query it
(almost) directly with ADO.NET and maybe some middleware.

If you supply a bit more information about the mainframe and or RDBMS,
you'll get a much better response.

However, I'd say that FTP will almost certainly be the simplest solution,
especially as FTP support is provided natively in v2 of the .NET Framework.

Is there any particular reason that you don't want to use FTP...?
Sep 7 '06 #2
It's not a database.
What I mean by dataset is, the mainframe file.
I wanted to avoid FTP is because I did not want to rely on other controls
out of the framework. I am using .NET framework 1.1.
The mainframe machine is - "IBM 2084-309"
Would it be possible to connect to this machine by avoiding FTP?

Thanks,
dinoo

"Mark Rae" wrote:
"dinoo" <di***@discussi ons.microsoft.c omwrote in message
news:52******** *************** ***********@mic rosoft.com...
I am converting an vb application to c#. The existing application connects
to the mainframe server using FTP and downloads a file (dataset).
Is it possible in .NET to avoid FTP and use any providers to connect to
the
mainframe server and download a file.

I would appreciate if someone can give a reference to a link or code.

Depending on what sort of mainframe it is, you *might* be able to use Host
Integration Server: http://www.microsoft.com/hiserver/default.mspx

You mention that the file you need is a dataset - does that imply that it's
being fetched from a mainframe database? If so, you may be able to query it
(almost) directly with ADO.NET and maybe some middleware.

If you supply a bit more information about the mainframe and or RDBMS,
you'll get a much better response.

However, I'd say that FTP will almost certainly be the simplest solution,
especially as FTP support is provided natively in v2 of the .NET Framework.

Is there any particular reason that you don't want to use FTP...?
Sep 7 '06 #3
"dinoo" <di***@discussi ons.microsoft.c omwrote in message
news:FC******** *************** ***********@mic rosoft.com...
It's not a database.
What I mean by dataset is, the mainframe file.
Er. OK...
I wanted to avoid FTP is because I did not want to rely on other controls
out of the framework.
I can't understand that - there are some truly excellent 3rd-party FTP
controls out there.
I used this one for .NET v1.x: http://www.chilkatsoft.com/ChilkatFtp.asp
The price is right too... :-)
I am using .NET framework 1.1.
You could always upgrade to v2 and take advantage of the native FTP
support...
The mainframe machine is - "IBM 2084-309"
Would it be possible to connect to this machine by avoiding FTP?
No idea - sorry...
Sep 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3066
by: Jerry Orr | last post by:
We are trying to determine the easiest (and cheapest) way to get connections for about 50 Win2K workstations on our LAN to DB2 on a z/OS server. We could install DB2 Connect Personal Edition on every workstation, but that would require purchasing a license for each workstation (or, more likely, a site license). We would like to avoid that option. I've heard mixed accounts of what DB2 Connect ENTERPRISE Edition can do. One source says...
30
7435
by: aka | last post by:
Hi I have a DB2 v8.1 on AIX and DB2 Connect EE on Solaris wich is connected to OS/390 DB2 subsystems via APPC / SNA. I have cataloged the DB2 Connect instance as tcpip node and then the Host DB cataloged on that node...this works from v7.2 Fixpack 11 clients and servers, but with v8.1 server I get SQL1334N. Does anyone has an idea? Thanks
2
1955
by: joejadick | last post by:
I have an application that uses IBM DB2 Universal Data Base Version 8.2 to update DB2 tables on a RS/6000 platform. I would like to change it to update DB2 tables on an IBM Mainframe using DB2 Connect. My question is whether this will be transparent to the application? Thanx, Joe Jadick
2
3331
by: vikas.bhatia | last post by:
Is this still true? http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/58c6c36ce9006d50/778f98749d8e2983?lnk=st&q=DB2+Connect+product+license&rnum=6#778f98749d8e2983 would a standard type 4 driver, jar file copy into the WEB-INF/lib folder not work? I am trying to access db2 8 on z/os though a java app server. thanks.
2
9793
by: jeffhan | last post by:
we have os/400 db2 database at the backend. i installed db2 v9 connect server on one windows server which is locating the same network with database server. now how to i configure the connect server and client, so client could access the database through the connect server? like that: db2client <--db2 connect server <--db2 mainframe database
0
2154
by: Liz2 | last post by:
Goal: I am trying to using Import and Export Wizard in SSIS to grab data from mainframe and put in a sql database. I am stuck at the beginning point: how to connect to the mainframe? I picked the mainframe as my data source. Then on the Data Link Property window under connection, there is Data Source and Location. I assume Data Source is the ip address of my mainframe, and location is the database I am trying to link to. Correct me if I...
2
3804
by: zgh1970 | last post by:
Hi, All, I have question on DB2 CONNECT configure. We installed DB2 ESE V8 FixPak 14 o AIX . When we set up the connection to DB2 Mainframe. We just catalog node and DB directory without DCS. From what I know, DB2 conenct needs to set up node, dcs and db directories. Why DB2 CONNECT can connect to DB2 mainframe without the DCS?
0
1946
by: pnalla | last post by:
Hi, I am try to connect to mainframe screen using visulabasic6.0?. 1) Is it possible to connect vb to mainframe 2) Is there any interface or emulator is requried for this approach? provide needful solution to me with sample code. Please hlep me.
0
8987
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9534
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9241
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2777
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.