473,837 Members | 1,494 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 5408
"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
3078
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
7455
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
1960
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
3337
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
9806
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
2156
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
3808
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
1951
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
9682
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
10881
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...
1
10628
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,...
1
7807
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7004
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5670
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5850
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4043
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3126
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.