To produce your new PROGRUN with support for your own functions, you must set up function definitions on your database. Your new PROGRUN will therefore only work correctly on databases that contain the same function definitions with the same internal reference numbers. You can resolve this problem in either of two ways:
Instructions for building a dedicated PROGRUN are given in the section Customising the Program Interpreter . If your program does not need a real procedure body written in C, add a dummy procedure of that type to persuade PROGCOMP to generate the requisite files.
You can ensure that all databases are compatible either by putting your functions into the seed database, BD, and having everyone develop from this, or by using QABUTIL to export function definitions from a master database and import into all the others.