OS400: implement XPath macros as procedures for ILE/RPG support.