Hex Editor for 5250 on iSeries in ILE RPG

Ever wanted to modify a bit value without writing a program to do it? There’s just so much UPDDTA can display on screen. This is one program targeted at keeping lazy people, lazy.

This program opens any physical file and displays record by record hex values without fields’ boundary. You can edit either in ASCII text or hex value.

There are three pieces to this program; two of which I’m publishing the source and the third as a binary. You’ll have to download the SAVF and perform RSTOBJ before you can CRTPGM on SLHEXEDT with SLHEXEDTU module.

You’ll find instructions on how to call the program in the RPG source code header.

Note: Editing any file in hex is risky, especially if you’re an idiot who happens to be a programmer. I will not be responsible for any outcome of the program. Use at your own risk!