Solved

connect to mainframe using applications

Posted on 2011-02-17
11
1,216 Views
Last Modified: 2012-06-27
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
Comment
Question by:jimsweb
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 19

Expert Comment

by:Thommy
ID: 34915371
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
 
LVL 8

Author Comment

by:jimsweb
ID: 34915642
Thank you.
Ours is an old one running OS 390.
What is other details you are looking for..?
0
 
LVL 19

Accepted Solution

by:
Thommy earned 200 total points
ID: 34916294
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
 
LVL 12

Expert Comment

by:Hypo
ID: 34916375
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
 
LVL 12

Expert Comment

by:Hypo
ID: 34916447
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 8

Author Comment

by:jimsweb
ID: 34916569
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
 
LVL 12

Assisted Solution

by:Hypo
Hypo earned 125 total points
ID: 34916669
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
 
LVL 16

Assisted Solution

by:AlexPace
AlexPace earned 50 total points
ID: 34916673
Remember that some of those mainframes use EBCDIC character set instead of ASCII so if you get some strange characters this is why.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 34921021
0
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 125 total points
ID: 34922890
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
 
LVL 8

Author Closing Comment

by:jimsweb
ID: 34977175
thank you.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
loading dll from external path 1 197
Thread safe  opinion 7 111
Help on project with Soap 10 43
Magic Software info 18 102
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now