Which programming language would you prefer to automate the screens of a mainframe system like IBM AS/400?

  • What protocol do you use to connect? TN5250? Commented May 23, 2016 at 18:29

2 Answers 2


What works for sure is screen automation with Sikuli/Python.

Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.

  • can you give detail on how you would accomplish it? Maybe a code snippet?
    – ECiurleo
    Commented Dec 19, 2016 at 11:39
  • I used Sikuli for desktop automation (Windows software). But since Sikuli is Screenshot based, it can automate literally anything. A good place to start is sikuli.org/testing.html
    – timfredo
    Commented Dec 21, 2016 at 20:31

I'd say Java is a good choice, but actually just take your pick: RPG, assembly language, C, C++, Pascal, Java, EGL, Perl, Smalltalk, COBOL, SQL, BASIC, PHP, PL/I, Python and REXX. There is also a set of CASE tools.

You may want to restrict yourself to the ILE (Integrated Language Environment) compatible languages though. Also important is the OS400 Control Language (CL).

An entrance level reference:

  • And which tools will you use those languages in to automate AS400 screens?
    – FDM
    Commented May 21, 2016 at 7:57
  • Ah, screen automation. On the mainframe I'd just use Proterm. On OS400: ibmsystemsmag.com/ibmi/developer/general/… or some variation, because I have no experience using TestBench.
    – Bookeater
    Commented May 21, 2016 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.