An order clerk in your building keys a full order into a green screen faster than anyone else there could on a web form. The clerk’s hands stay on the keyboard from the first field to the last, and nothing on that screen needs a mouse.
That speed is worth keeping. When your team plans AS400 green screen modernization, the first question is which screens change and which stay as they are. You answer it one screen at a time, with a list of the programs and files behind each screen in front of you.
What AS400 green screen modernization means on IBM i
People tie the AS400 to green screens because the traditional way into an AS400 application is a text terminal with a green-on-black display. That look comes from the 5250 interface. Some teams say IBM i green screen modernization for the same work. Either way, the screen is the part your users see, and the RPG programs behind it do the work of the business.
Each green screen comes from a display file, and one or more programs open that display file to show the screen and accept what the user keys. A source library often contains fixed-format RPG III beside free-format RPG IV, with DDS-defined files, display files, printer files and copy members threaded through it. You have to account for each of those pieces, because a single screen can depend on several of them.
For every screen, your team answers two questions in an AS400 green screen modernization project. Does the screen itself change? Do the programs behind it change?
Why you plan one screen at a time
Each screen has its own users and its own programs behind it, and one answer for a whole application rarely fits all of them. The order entry screen your clerk uses all day and a screen one analyst opens at quarter end need different decisions, even inside the same library. If your team treats the application as one block, both screens get the same technique.
A screen change that misses one program behind it can break a job nobody mapped. Your team avoids that break with a screen list. For every display file, the screen list shows the programs that open it and the other files those programs use. With that evidence, you can choose a technique for each screen, and some screens can stay as they are.
The same list helps when you take the work to your risk officer and your CFO. A screen change stops being a promise that it should be fine. It becomes a list of programs and files your developers can check before anyone approves the work.
What the screen list records for each display file
The screen list gives every display file one row with four entries. Your source library supplies the first three entries, and your people supply the fourth.
| Entry in the row | Why it matters to the decision |
|---|---|
| The display file | It defines the screens your users see, and it is the unit the screen list counts. |
| The programs that open the display file | They contain the business logic, and any change to the screen has to reach them. |
| The other files those programs use | Other programs may use the same files, and the dependency map shows which ones. |
| The people who still rely on the screen | They know how fast the screen works for them and which steps they would lose in a change. |
Read the four entries together before you pick a technique. A display file with one program behind it and a busy team in front of it is a strong candidate to keep. A display file whose programs touch files across the whole source library needs careful scoping before anyone changes it.
Four common techniques and the layer each one changes
Your team can choose from four common techniques for AS400 green screen modernization, and they change two layers of the application.
- Screen scraping takes the data a 5250 screen shows and uses it in a new web interface, and the code underneath stays the same.
- Refacing tools apply a graphical interface over the existing 5250 screens.
- API integration exposes the business logic behind a screen, so a new web or mobile front end can call it.
- Code transformation rewrites or refactors the RPG programs behind the screen.
Screen scraping and refacing work at the screen layer. API integration and code transformation reach into the programs behind the screen. Even a 5250 modernization project that stays at the screen layer needs the screen list, because a new interface over a 5250 screen still depends on the programs behind it.
We compared the four architectures for an AS/400 with green screens in an earlier post, with the trade-offs of each one. Of those four, keeping the green screens leaves the screen layer as it is, and wrapping the 5250 screens for a browser works at that layer. The two conversions, to free-format RPG and to Python or another language, work on the programs behind the screen.
How the assessment builds the screen list
We build the screen list with AS/Forward during our IBM i modernization assessment, and that page explains what the assessment covers before you book it. The assessment comes first and sizes the work.
AS/Forward takes in your source library through a proprietary ingestion layer, display files included. Its dependency map is an interconnection graph across the whole source library, and it links programs and files by their dependencies. When you plan a change to a file, the dependency map shows what else moves before anyone edits the source.
For green screens, the dependency map links each display file to the programs that open it. It also links each of those programs to the other files it uses. Those links fill the first three entries in every row of the screen list.
AS/Forward also writes a plain-English description of every program from the ingested source. Each program page pairs the source with its description, its dependency edges, warnings for anything unresolved and a readiness status. Migration-impact reporting then scopes the work program by program before you commit to anything.
The AS/Forward page explains how the tool deploys before your risk officer asks. AS/Forward runs on-prem and air-gapped inside your own infrastructure, and it works with Claude, OpenAI, Gemini or local models. AS/Forward has one US patent pending.
The dependency map has a limit, and it matters for green screens. Nothing in the RPG source shows who keys orders on a screen each morning, or how much faster those people work there than anywhere else. Your team adds that fourth entry to each row, beside what the dependency map shows. Where AS/Forward finds something it cannot resolve, the program page shows a warning, and a person reviews that program.
Which screens should change first?
AS/Forward marks clean programs ready, and programs with gaps go to human review before anyone converts them. That split gives you a first order of work.
A display file whose programs all show ready can move early, if its users want a change. A display file with even one program in human review waits until a person has checked that program.
Then check the fourth entry in each row. A ready screen that your clerks use all day can still stay exactly as it is, if they work fastest there. A ready screen that another system needs data from might suit API integration first.
You can start that order of work before the assessment begins. First, count the display files in your production source library. Then ask each department which screens its people open every day. The display file count sizes the screen list, and the department answers start the fourth entry in each row.
Can you keep some green screens?
Yes. Keeping a screen is one valid outcome among several, and we put the choice to IBM i teams this way:
“Some shops want to move off RPG entirely. Others want to stay on IBM i and clean up fixed-format code into free-format. Plenty of buyers want to keep their green-screen workflows exactly as they are while modernizing what sits behind them. All of those are valid outcomes.”
Your clerk keeps the screen and the keystrokes, and we modernize the programs underneath. The screen list shows which programs those are before anyone touches one of them.
What happens to the RPG behind a screen?
AS/Forward converts to the language you pick, and free-format RPG and Python are two examples of those targets. You can clean up fixed-format RPG into free-format and stay on IBM i. You can also convert a program to Python or another language when you plan to move off RPG.
If you plan to stay on the platform, our guide to fixed-format to free-format RPG covers that conversion in detail. If you plan to leave RPG, the screen list shows which programs share files, and we convert those programs together as one move.
We follow one order for every program: “The assessment comes first, the target decision comes second, and the second decision is yours.”
Call us to plan your screens
Call 501-232-7188 and tell us what your system runs. Tell us how many display files you think your production source library contains, and which screens your people use all day.
We set up the assessment for your source library. The screen list comes out of it with the programs and files the dependency map links to each display file. It also shows a warning on anything AS/Forward could not resolve. You can start your AS400 green screen modernization plan with that call. If you prefer to write first, send the same details through our contact page and we will reply.