Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1285
  • Last Modified:

connect to mainframe using applications

I would love to hear from you all, is it possible for me to create an application (preferably in Delphi) that can interact with mainframe?

I am planning to implement,
(1) Basic login features
(2) Directory listing
(3) upload and download files etc..

It is highly appreciated if anybody can throw some light into this. Code samples or ideas are most welcome.
0
jimsweb
Asked:
jimsweb
  • 3
  • 3
  • 2
  • +3
4 Solutions
 
ThommyCommented:
Basically you can connect to any mainframe with Delphi.

But how to implement connection depends on the special kind of mainframe.

What mainframe do you want to connect to???
0
 
jimswebAuthor Commented:
Thank you.
Ours is an old one running OS 390.
What is other details you are looking for..?
0
 
ThommyCommented:
I have no experience with IBM OS 390.

What I did is connecting to IBM AS/400 using third party component DELPHI/400 (http://www.systemobjects.com/products.html)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
HypoCommented:
Can you use Telnet to communicate with the system today? In that case you might be able to use the Indy Telnet client component (TidTelnet) to connect and perform perform tasks on the mainframe...

the TIdTelnet component has a SendCmd function, with which you can send commands similar to what you are typing when using the Telnet from the command prompt.

That might be one way to get forward anyway...

/Hypo
0
 
HypoCommented:
I feel I must also add that I'm probably way off with my remark... I actually don't know anything about OS 390, but it sounded like an old system, and therefore I just came to think of Telnet... :)

/Hypo
0
 
jimswebAuthor Commented:
You are right. The OS 390 is almost 30-50 years old and used in mainframes. No one has ever imagined that this mainframe godfather would survive this longer. The truth is mainframes are still alive Today. :) And there are a number of large corporates (I can't name them, since it is a confidential info) who still use this mammoth architectures, because over 60% percent of their data and legacy code still reside in them. Can't even think about replacing or rewriting the code that is 30-40 years old. Cant imagine to migrate the huge historical data that they may have...

Thank you all for your invaluable comments. I can connect to mainframe using FTP ans well as telnet. So i guess this would be the workaround. I will give a try in 2-3 days using these components. Thanks again for your comments.
0
 
HypoCommented:
The indy component suite also has a FTP client... so if you can connect with an FTP-client today, then you could also use the Indy FTP-client component (TIdFTP) from delphi... I have used that component several times when I've written automated functions that get files from one of our company's FTP-server...

the TIdFTP1 component has functions like TIdFTP.Get(SourceFile : String; DestFile :String, ...) and TIdFTP.List...

You could probably get both files and directory structure from the server using that component.

I think that would be an easier way forward than using Telnet... :)

/Hypo
0
 
AlexPaceCommented:
Remember that some of those mainframes use EBCDIC character set instead of ASCII so if you get some strange characters this is why.
0
 
giltjrCommented:
Actually OS/390 is is not that old, it is based on OS's that were originally developed in the 60's but OS/390 came out in the 90's.

If you happen to have TCP/IP you can use telnet, ftp, or rcp.  You can also go to:

     http://s390.nichols.de/ssh/index.html

and get SSH.

If you want to know the names of companies that use mainframes just look at the Fortune 500 to start with.  Every (and I do mean EVERY) major airline, bank, credit card, and insurance company use IBM mainframes running z/OS, z/VM, z/TPF, and/or Linux.  Yes, IBM mainframes and run Linux.

When running Linux on a mainframe the native character set is ASCII.  The other mainframe OS's (z/OS, z/VM, z/TPF, and z/VSE) do use EBCDIC nativity.  z/OS can also support ASCII for some functions.

If you connect to the mainframe using FTP, it will do EBCDIC-ASCII translation as need.  The company I work for still has uses them and I still work on them daily.
0
 
jimswebAuthor Commented:
thank you.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now