RouteBLAZE™ Library

Version IBM i libraries in Git, and read what is inside them from the DevOps web client

RouteBLAZE™ Library

RouteBLAZE™ Library keeps an IBM i library in a Git repository. On the IBM i, the library is packed into a save file, the same archive a restore loads back onto the machine.

Beside that archive, the same commit stores a plain-text view. Source members, file rows, messages, and data areas can be opened in Azure DevOps, GitHub, GitLab, or Bitbucket.

The IBM i does not need a route to the internet. A Java service, on any system that can reach the Git host, receives the files, commits them, and pushes them.

Save the whole library, or name the objects you want. A later save of the same library replaces that version. Git keeps the older ones.

A full save of library PAYROLL is one commit. libs/PAYROLL.savf is the archive a restore will load. libs/PAYROLL-shadow is the readable view.

Each object is a folder. The folder starts with PAYCALC-META.txt, which says what the object is: its type, attribute, owner, size, last used time, and whether it is a source file. The folder name alone is only the object name, and two types can share one name.

A source file becomes one UTF-8 file per member, named with the member and its source type, for example PAY01.RPGLE.

A physical or logical file becomes a field list and a text file of its rows. A message file becomes its message descriptions. A data area includes its value when that value is text or a number.

A compiled program does not contain the original source. Its folder records the program's type and text, and the restorable form stays in the save file.

A restore fetches the save file and loads it into a library. Objects in the archive overwrite objects of the same name. Objects that are only on the machine stay, and the library is not deleted. The readable view stays in Git as a record of what that commit contained.

Editing a shadow file and restoring does not change the program or the data on the IBM i. Changing an object means changing it on the IBM i and saving again.