2. Develop and maintain
Change any program with the whole system behind it
Confidence: every change shows what it touches before it is made, and arrives with its proof.
In legacy development environments, almost everything is a command: one to find a source, another to see a job's log, another to compare two sources, and a chain of screens between them. Afunana Developer keeps the tools programmers already know and puts everything they need within a few clicks of each other. Point at a field or a program and a popup says what it is and what uses it. Two versions of a program's source are compared side by side, each line shows the date it changed, and a program's history goes back day by day. It works in the browser, or in VS Code as one extension, with nothing else to find, install and set up.
The whole system in one tree
One tree beside the code holds the source files, the objects, the running jobs, the printed output, the operator messages, the commands and the database. When a job fails, the chat reads its log using the programmer's own permissions, opens the line of code that caused the error, and shows the recent changes to that program.
Write code with AI help
Programmers can chat about the code they have open, get suggestions that complete the line as they type, and ask the AI to explain or change code. When the AI changes code, Afunana compiles it and fixes it until it compiles without errors. The programmer accepts or rejects each change.
Use skills and modes for common jobs
Skills guide the AI through common jobs, each working from the system model: moving old code to its modern form, removing GOTOs, splitting a large program into modules, replacing native file access with SQL, turning file definitions into SQL tables, tuning database access and explaining an abend. Modes set how the AI works: a Reviewer that only comments, a Support mode that starts from the failure, and a Convert mode for moving code to a new form.
See what a change affects before you make it
Before a change, Afunana shows everything it would affect across the application: programs, files, SQL, queries and screens, each with the line of code that explains why. It turns this into a change plan and checks the plan against the code. For example, it flags a new child table whose records are not deleted when the parent is deleted, and a screen field that would run past the edge of the screen.
Compile and test on the real machine
Each programmer edits in their own work area, under their own user, and compiles on the host itself. The compiler listing is shown, and each error appears on the line it refers to. The connection stays open between actions, so sources open quickly. Nobody approves their own change.
Prove each change before it goes live
Afunana builds a smaller copy of the production data for testing, with personal details replaced and the relations between files kept whole, and writes it only to a test area you allow. Screen sessions can be recorded and replayed after a change, and the results of a batch run compared before and after. The proof is attached to the change for whoever approves it.
The tools programmers already know
The familiar menu options, line commands and terminal screens are all there, so nobody has to give up how they work today. A screen layout is drawn beside its code while it is edited, and a programmer can debug their own run of a program.
Work in Java, JavaScript, Python and C#
Programs in Java, JavaScript and TypeScript, Python and C# are edited in the same editor, with a backup and a history for every file. Afunana shows what an upgrade to a newer Java or framework version would break, checks every dependency against a vulnerability database kept inside your network, and finds passwords, connection strings and keys written into the code, with the value hidden.
Write a program again in a new language
From the editor, a programmer can have Afunana write a program again in Java or C#, with an API for it, and check the new version against the old one on the same input.
Keep every change safe and recorded
Before Afunana changes a program's source, it saves a copy in a separate backup area, and if a save fails halfway, the source is put back exactly as it was. Changes go through the change management tool you already use, such as Aldon, Turnover, Implementer, ARCAD, Endevor or ChangeMan, or through Git, where an approved change opens a pull request on GitHub, GitLab or Azure DevOps.
Data apps
A data app is a ready-made screen for one table and its related tables, working on the live data: people browse, search, add, change and delete rows. A row opens its child tables with the parent's key already filled in, code fields are drop-down lists, values are checked against the table's rules before they are saved, and each change is recorded with the row before and after. Each data app is also a REST service with an OpenAPI description, so other systems can use the data before anything is rewritten.