OS400: use C macros to implement equivalent RPG support procedures.