Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Visual Studio Code and 5250

December 17, 2021/9 Comments/in RPG, VS Code for i /by Liam Barry Allan

With our latest version of Code for IBM i, developers have access to virtually everything they need when writing both RPG and open source applications, all in a single editor.

This blog post covers the two types of terminals available: a PASE shell, enhanced in 0.84 for faster launch, and a 5250 terminal.

VS Code for i 5250

Code for i explorer, RPGLE code, problems, outline view and 5250 terminal.

Faster PASE terminal launch

Previously, when bringing up the PASE (SSH) environment in the VS Code terminal, you were prompted for your user and password. While this worked well, you were essentially logging in to your system twice, since you would have already connected to it when using Code for IBM i.

Now, assuming you have connected to your system using Code for IBM i, you can select the PASE (SSH) terminal using the Terminals button and be logged in automatically.

As shown below, clicking the Terminals button at the bottom of your screen will launch a quick-pick menu at the top of your screen, where you can select the type of Terminal you want. If you choose PASE, Code for IBM i will use your existing authenticated connection to open the terminal.
VS Code for i Terminal Type

PASE Terminal

PASE terminal with automatic login

5250 terminal requirements and settings

The only requirement to launching a 5250 emulator is to have tn5250 installed, a terminal client for the IBM i that emulates 5250 terminals. This can be installed via yum. Once you have it installed, you’re good to go!

The Terminals tab in Settings lets you customize your terminal with several options. For example, 5250 Encoding specifies the CCSID mapping. 5250 Terminal Type includes numerous emulation types, including IBM-3180-2for a 132-column display.

Code for IBM i terminal settingsWith these enhancements to Code for i, you can access not only your code, but 5250 terminals and PASE shells as well. Personally, I’ve found it saves me lots of time to have everything I need within the IDE.

Code for IBM i is completely free and open source.

If you have not yet tried VS Code for IBM i, you’ll find installation instructions here and a more complete list of resources at Visual Studio Code for IBM i: A Resource Guide.

Tags: IBMi development, IDE, Visual Studio Code
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Liam Barry Allan https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Liam Barry Allan2021-12-17 11:52:292024-11-28 09:39:29Visual Studio Code and 5250
Liam Barry Allan

About Liam Barry Allan

Liam Allan, IBM Champion and consultant with Seiden Group, helps IBM i development teams transform their applications and bridge the gap between traditional and modern ...Read More

9 replies
  1. SIdnei
    SIdnei says:
    November 25, 2024 at 11:45 am

    Hi.

    Does anyone knows hot to configure the 5250 Terminal in Visual Studio Code to use a screen size of 27×132 instead of 24×80?

    Thanks in advance for any help.

    Reply
    • Alan Seiden
      Alan Seiden says:
      November 28, 2024 at 9:34 am

      Sidnei, we have now updated the article with the setting for 27×132. Check above under “5250 terminal requirements and settings.”

      Reply
      • Sidnei Gomes
        Sidnei Gomes says:
        November 28, 2024 at 9:46 am

        Thank you so much! You rocks!

        Reply
  2. Ravisankar Pandian
    Ravisankar Pandian says:
    July 12, 2023 at 6:03 am

    Hi, I have installed the TN5250 version 0.17.5-3 using yum. But still I am getting the below error message when I try to spawn a 5250 terminal from VS Code.

    5250 terminal is not supported. Please install tn5250 via yum on the remote system.

    Do I need to open any port#?

    Please help!
    Thanks,
    Ravi

    Reply
    • Alan Seiden
      Alan Seiden says:
      July 12, 2023 at 3:09 pm

      Please report this issue to the Code for i Team and let us know how it goes. Instructions on reporting an issue are here: https://www.seidengroup.com/2023/07/10/how-to-report-an-issue-with-vs-code-for-ibm-i/

      Reply
      • Ravisankar Pandian
        Ravisankar Pandian says:
        August 1, 2023 at 12:33 am

        Hi Alan,
        Thank you for the heads up. I created an issue in the Github repo and got it resolved. I really appreciate help.

        https://github.com/halcyon-tech/vscode-ibmi/issues/1434

        Thanks,
        Ravisankar P.

        Reply
        • Alan Seiden
          Alan Seiden says:
          August 1, 2023 at 10:45 am

          Excellent, Ravisankar!

          Reply
    • Nils Hirschberger
      Nils Hirschberger says:
      October 10, 2023 at 2:54 am

      Hi Ravisankar,

      it seems I am running into the same issue.
      Could you share your solution for this ?

      Reply
      • Edwin Orozco
        Edwin Orozco says:
        March 6, 2024 at 4:17 pm

        I’m having the same message
        Help!

        Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: No, Apache Isn’t Vulnerable to the Log4j Vulnerability Link to: No, Apache Isn’t Vulnerable to the Log4j Vulnerability No, Apache Isn’t Vulnerable to the Log4j Vulnerability Link to: ibm_db2 & ODBC Run Side-by-Side in Seiden PHP+ Link to: ibm_db2 & ODBC Run Side-by-Side in Seiden PHP+ ibm_db2 & ODBC Run Side-by-Side in Seiden PHP+
Scroll to top Scroll to top Scroll to top