Programs Level Check Analyzer

The programs that will level-check against the files in your data libraries, before a user finds them.

For the whole job, read What a change would break.

Why it matters

A program compiled against an old record format does not fail at compile time. It fails at run time, in front of somebody, with a level check.

Opening it

Tools4i in the Activity Bar, then Programs Level Check Analyzer.

Field What it takes
Program libraries The libraries holding the programs to check. Spaces or commas, and a name may end in *. They are searched in the order entered, so the first match wins, exactly as a library list resolves
Data libraries The libraries holding the files those programs open, whose current definitions the programs are compared against

Analyze compares the record-format level ids compiled into each program against the files as they are now. Cancel stops it before it finishes, and nothing is reported.

Comparison

Every program-and-file pair examined, with both level ids side by side and the verdict for each.

Its filter narrows across program, file, record format and status, Affected only hides the rows whose level ids still match, and Export writes the rows shown to CSV.

Programs to Recompile

The distinct programs that will fail, one line each whatever the number of files behind them. This is the work list.

Its filter narrows by program or library name, Copy list puts the LIBRARY/PROGRAM list on the clipboard, and Export writes it to CSV.

Files

The same result from the other side: which record formats changed, and how many programs each one breaks. Its filter narrows by file, library or record format, and it exports too.

Read this tab when the recompile list is long: twenty programs failing usually means one or two files changed, and those are the ones to tell people about.

Affected only, and the case it reveals

Affected only hides the pairs that still match.

It also surfaces the pairs where level checking is simply turned off. Those programs will not fail. They will read the record with the old layout and write whatever that produces, quietly, for as long as nobody notices. A list of them is worth more than the list of programs that fail loudly.

Acting on a row

Entry What it does
Open Source (read only) The program’s source
Run action on N programs… Runs your own compile action over the selection, straight from the list
Query Info On a query row, opens Native Query Info
Copy Name, Name and Library, Copy File Name  

Run action on N programs is what turns the analysis into the recompilation without retyping forty names into a command.

Taking it out

Copy list puts the LIBRARY/PROGRAM list on the clipboard, and each tab exports to CSV, so the recompilation becomes a ticket somebody can work through.

Save keeps the whole result as a snapshot and Open… brings it back, which is how a before-and-after pair of runs is compared.


Tools4i is MIT licensed. Questions and reports go to tools4i.support@gmail.com

This site uses Just the Docs, a documentation theme for Jekyll.